add option to override luasnip options
This commit is contained in:
parent
77c1287db8
commit
9f48587d63
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user