From 708a3b44d82bde53e61dac364c939f5c2bcd6d03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Mon, 15 Aug 2022 15:12:00 +0100 Subject: [PATCH] make it a lua block --- config/programs/vim/modules/languages/luasnip.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ''; }