fix(luasnip): make sure friendly-snippets are loaded too

This commit is contained in:
Manas Mengle 2022-06-27 16:19:11 +01:00 committed by siduck
parent 5a3fcd7326
commit 34628a1789

View File

@ -114,6 +114,7 @@ M.luasnip = function()
options = load_override(options, "L3MON4D3/LuaSnip")
luasnip.config.set_config(options)
snippet_paths = load_config().plugins.options.luasnip.snippet_paths
require("luasnip.loaders.from_vscode").lazy_load()
require("luasnip.loaders.from_vscode").lazy_load({ paths = snippet_paths })
vim.api.nvim_create_autocmd("InsertLeave", {