fix luasnip incorrect path (#526)

This commit is contained in:
siduck76 2021-10-28 06:04:50 +05:30
parent 0e493bcacc
commit 6e3e0bf029
1 changed files with 3 additions and 1 deletions

View File

@ -82,7 +82,9 @@ M.luasnip = function()
history = true,
updateevents = "TextChanged,TextChangedI",
}
require("luasnip/loaders/from_vscode").load { path = { chadrc_config.plugins.options.luasnip.snippet_path } }
require("luasnip/loaders/from_vscode").load { paths = chadrc_config.plugins.options.luasnip.snippet_path }
require("luasnip/loaders/from_vscode").load()
end
M.signature = function()