From 34628a17892ce93605feece05e0d840987e0e7c1 Mon Sep 17 00:00:00 2001 From: Manas Mengle Date: Mon, 27 Jun 2022 16:19:11 +0100 Subject: [PATCH] fix(luasnip): make sure friendly-snippets are loaded too --- lua/plugins/configs/others.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/plugins/configs/others.lua b/lua/plugins/configs/others.lua index ee1b719..b78bde5 100644 --- a/lua/plugins/configs/others.lua +++ b/lua/plugins/configs/others.lua @@ -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", {