diff --git a/lua/complete.lua b/lua/complete.lua index 0417f89..2a57f00 100644 --- a/lua/complete.lua +++ b/lua/complete.lua @@ -2,7 +2,11 @@ local cmp = require 'cmp' local luasnip = require 'luasnip' require('luasnip.loaders.from_vscode').lazy_load() -luasnip.config.setup {} +luasnip.config.setup { + history = true, + updateevents = "TextChanged,TextChangedI", + enable_autosnippets = true, +} cmp.setup { snippet = {