change snippets' priority

Higher priority should be given to the user's own snippets
This commit is contained in:
Owen 2022-09-24 19:26:45 +00:00 committed by Sidhanth Rathod
parent 74e374ef7b
commit 27560319cc
1 changed files with 1 additions and 1 deletions

View File

@ -113,8 +113,8 @@ M.luasnip = function()
options = load_override(options, "L3MON4D3/LuaSnip")
luasnip.config.set_config(options)
require("luasnip.loaders.from_vscode").lazy_load()
require("luasnip.loaders.from_vscode").lazy_load { paths = vim.g.luasnippets_path or "" }
require("luasnip.loaders.from_vscode").lazy_load()
vim.api.nvim_create_autocmd("InsertLeave", {
callback = function()