build core, basic and go variants and add template
This commit is contained in:
13
basic/nvim/plugconf/LuaSnip.lua
Normal file
13
basic/nvim/plugconf/LuaSnip.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
local luasnip = require 'luasnip'
|
||||
local loader = require 'luasnip.loaders.from_lua'
|
||||
|
||||
luasnip.setup {
|
||||
-- Enable live updates
|
||||
update_events = { 'TextChanged', 'TextChangedI' },
|
||||
|
||||
-- Stop jumping when deleted
|
||||
delete_check_events = { 'TextChanged' },
|
||||
}
|
||||
|
||||
-- Automatically load lua snippets
|
||||
loader.lazy_load()
|
||||
Reference in New Issue
Block a user