mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-12 12:50:37 +00:00
add option to override luasnip options
This commit is contained in:
parent
77c1287db8
commit
9f48587d63
1 changed files with 3 additions and 1 deletions
|
@ -123,11 +123,13 @@ M.luasnip = function()
|
|||
return
|
||||
end
|
||||
|
||||
luasnip.config.set_config {
|
||||
local options = {
|
||||
history = true,
|
||||
updateevents = "TextChanged,TextChangedI",
|
||||
}
|
||||
options = load_override(options, "L3MON4D3/LuaSnip")
|
||||
|
||||
luasnip.config.set_config(options)
|
||||
require("luasnip.loaders.from_vscode").lazy_load()
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue