Explorar el Código

增加autotag

scorpio hace 1 año
padre
commit
54d4bd33d9
Se han modificado 2 ficheros con 8 adiciones y 2 borrados
  1. 3 2
      lua/plugins.lua
  2. 5 0
      plugin/packer_compiled.lua

+ 3 - 2
lua/plugins.lua

@@ -68,11 +68,12 @@ packer.startup({
             'neoclide/coc.nvim',
             branch = 'release'
         }
-
+        -- 自动关闭标签
         use {'windwp/nvim-ts-autotag'}
         -- Lspconfig
         use({ "neovim/nvim-lspconfig" })
-        --use("hrsh7th/nvim-cmp")
+        use({"L3MON4D3/LuaSnip",run = "make install_jsregexp"})
+    --use("hrsh7th/nvim-cmp")
         -- snippet 引擎
         -- 补全源
         --use("hrsh7th/cmp-vsnip")

+ 5 - 0
plugin/packer_compiled.lua

@@ -80,6 +80,11 @@ _G.packer_plugins = {
     path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/Comment.nvim",
     url = "https://github.com/numToStr/Comment.nvim"
   },
+  LuaSnip = {
+    loaded = true,
+    path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/LuaSnip",
+    url = "https://github.com/L3MON4D3/LuaSnip"
+  },
   ["coc.nvim"] = {
     loaded = true,
     path = "/Users/sdaduanbilei/.local/share/nvim/site/pack/packer/start/coc.nvim",