FollieHiyuki-dotfiles/home/.config/nvim/lua/modules/snippets.lua
2021-10-17 21:48:03 +07:00

12 lines
294 B
Lua

local function luaSnip_setup()
require('luasnip').config.set_config({
updateevents = 'TextChanged, TextChangedI',
history = true
})
-- Loading vscode-like snippets from 'friendly-snippets'
require('luasnip/loaders/from_vscode').lazy_load()
end
luaSnip_setup()