make it a lua block

This commit is contained in:
Charlotte 🦝 Delenk 2022-08-15 15:12:00 +01:00
parent 5981dc6554
commit 708a3b44d8
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -3,8 +3,10 @@
luasnip luasnip
]; ];
output.extraConfig = '' 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()
require("luasnip.loaders.from_vscode").lazy_load({ paths = '${./snippets}' }) require("luasnip.loaders.from_vscode").lazy_load({ paths = '${./snippets}' })
EOF
''; '';
} }