From 27560319cc4cf753e5a4d8713f82206d84a70d61 Mon Sep 17 00:00:00 2001 From: Owen <62473795+theowenyoung@users.noreply.github.com> Date: Sat, 24 Sep 2022 19:26:45 +0000 Subject: [PATCH] change snippets' priority Higher priority should be given to the user's own snippets --- lua/plugins/configs/others.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/configs/others.lua b/lua/plugins/configs/others.lua index b9f95c2..462c44b 100644 --- a/lua/plugins/configs/others.lua +++ b/lua/plugins/configs/others.lua @@ -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()