FollieHiyuki-dotfiles/home/.config/nvim/lua/modules/snippets.lua

12 lines
294 B
Lua
Raw Normal View History

2021-07-10 12:40:43 -04:00
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()