diff --git a/config/programs/vim/modules/languages/luasnip.nix b/config/programs/vim/modules/languages/luasnip.nix index a1e633cc..e64ae380 100644 --- a/config/programs/vim/modules/languages/luasnip.nix +++ b/config/programs/vim/modules/languages/luasnip.nix @@ -3,8 +3,10 @@ luasnip ]; output.extraConfig = '' - lua require('luasnip-config') + lua << EOF + require('luasnip-config') require("luasnip.loaders.from_vscode").lazy_load() require("luasnip.loaders.from_vscode").lazy_load({ paths = '${./snippets}' }) + EOF ''; }