removes lua-snip

This commit is contained in:
2024-03-20 18:03:05 -04:00
parent 1db62e3457
commit fb235ab19d

View File

@@ -1,27 +1,27 @@
-- This file contains plugin's that don't require much configuration. -- This file contains plugin's that don't require much configuration.
return { return {
{ -- {
"L3MON4D3/LuaSnip", -- "L3MON4D3/LuaSnip",
version = "2.*", -- version = "2.*",
build = "make install_jsregexp", -- build = "make install_jsregexp",
event = { 'BufReadPre', 'BufNewFile' }, -- event = { 'BufReadPre', 'BufNewFile' },
config = function() -- config = function()
local luasnip = require('luasnip') -- local luasnip = require('luasnip')
local types = require('luasnip.util.types') -- local types = require('luasnip.util.types')
luasnip.config.set_config { -- luasnip.config.set_config {
history = true, -- history = true,
updateevents = "TextChanged,TextChangedI", -- updateevents = "TextChanged,TextChangedI",
enable_autosnippets = true, -- enable_autosnippets = true,
ext_opts = { -- ext_opts = {
[types.choiceNode] = { -- [types.choiceNode] = {
active = { -- active = {
virt_text = { { "<-", "Error" } }, -- virt_text = { { "<-", "Error" } },
}, -- },
}, -- },
}, -- },
} -- }
end -- end
}, -- },
{ {
"hrsh7th/vim-vsnip", "hrsh7th/vim-vsnip",
config = function() config = function()