mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-12 12:50:37 +00:00
fix(luasnip): make sure friendly-snippets are loaded too
This commit is contained in:
parent
5a3fcd7326
commit
34628a1789
1 changed files with 1 additions and 0 deletions
|
@ -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", {
|
||||
|
|
Loading…
Reference in a new issue