complete: luasnip configuration

This commit is contained in:
Fabrice Mouhartem 2023-12-24 23:43:35 +01:00
parent 00aa5e7ce8
commit e7f13d002d

View File

@ -2,7 +2,11 @@
local cmp = require 'cmp' local cmp = require 'cmp'
local luasnip = require 'luasnip' local luasnip = require 'luasnip'
require('luasnip.loaders.from_vscode').lazy_load() require('luasnip.loaders.from_vscode').lazy_load()
luasnip.config.setup {} luasnip.config.setup {
history = true,
updateevents = "TextChanged,TextChangedI",
enable_autosnippets = true,
}
cmp.setup { cmp.setup {
snippet = { snippet = {