split out LuaSnip spec

Fri, 29 Dec 2023 03:02:51 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 29 Dec 2023 03:02:51 -0600
changeset 1139
1359a563b5ce
parent 1138
12ac68eb173f
child 1140
40b6fc3abd44

split out LuaSnip spec

.config/nvim/lua/plugins/completion.lua file | annotate | diff | comparison | revisions
--- a/.config/nvim/lua/plugins/completion.lua
+++ b/.config/nvim/lua/plugins/completion.lua
@@ -9,7 +9,6 @@ return {
       "hrsh7th/cmp-nvim-lsp",
       "hrsh7th/cmp-nvim-lua",
       "hrsh7th/cmp-path",
-      { "L3MON4D3/LuaSnip", opts = { history = true, delete_check_events = "TextChanged" } },
       "quangnguyen30192/cmp-nvim-tags",
     },
     config = function()
@@ -89,7 +88,15 @@ return {
       })
     end,
   },
-
+  {
+    "L3MON4D3/LuaSnip",
+    lazy = true,
+    build = "make install_jsregexp",
+    opts = {
+      history = true,
+      delete_check_events = "TextChanged",
+    },
+  },
   {
     "ray-x/lsp_signature.nvim",
     branch = "master",

mercurial