From e7f13d002d39d803aab6d97d1764bc62a31a1d12 Mon Sep 17 00:00:00 2001 From: Fabrice Mouhartem Date: Sun, 24 Dec 2023 23:43:35 +0100 Subject: [PATCH] complete: luasnip configuration --- lua/complete.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 = {