fix luasnip incorrect path (#526)

This commit is contained in:
siduck76 2021-10-28 06:04:50 +05:30
parent 0e493bcacc
commit 6e3e0bf029

View File

@ -82,7 +82,9 @@ M.luasnip = function()
history = true, history = true,
updateevents = "TextChanged,TextChangedI", 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 end
M.signature = function() M.signature = function()