blob: 50a0b94c5c2baa58ffe8fc59bdba72740c9f189c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
{lib, ...}: {
programs.nixvim = {
plugins.luasnip = {
enable = true;
};
extraConfigLuaPost = ''
${lib.strings.fileContents ./lua/luasnip.lua}
require("luasnip.loaders.from_lua").load({paths = "${./lua/snippets}"})
require("luasnip.loaders.from_lua").lazy_load({paths = "${./lua/snippets}"})
'';
};
}
|