add option to override luasnip options

This commit is contained in:
AlexanderHOtt 2022-06-01 15:36:44 -07:00 committed by siduck
parent 77c1287db8
commit 9f48587d63

View File

@ -123,11 +123,13 @@ M.luasnip = function()
return return
end end
luasnip.config.set_config { local options = {
history = true, history = true,
updateevents = "TextChanged,TextChangedI", updateevents = "TextChanged,TextChangedI",
} }
options = load_override(options, "L3MON4D3/LuaSnip")
luasnip.config.set_config(options)
require("luasnip.loaders.from_vscode").lazy_load() require("luasnip.loaders.from_vscode").lazy_load()
end end