From 3dca27a750eec137b566a903afea02b3b401cfb0 Mon Sep 17 00:00:00 2001 From: Vladislav Date: Thu, 14 Mar 2024 08:37:57 +0100 Subject: [PATCH] add LuaSnip lazy-loading for friendly-snippets --- init.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 6e41abe6..f8aff8a8 100644 --- a/init.lua +++ b/init.lua @@ -637,7 +637,12 @@ require('lazy').setup({ -- you can use this plugin to help you. It even has snippets -- for various frameworks/libraries/etc. but you will have to -- set up the ones that are useful for you. - -- 'rafamadriz/friendly-snippets', + -- { + -- 'rafamadriz/friendly-snippets', + -- config = function() + -- require('luasnip.loaders.from_vscode').lazy_load() + -- end, + -- }, }, }, 'saadparwaiz1/cmp_luasnip',