nixvimConfig/plugins/luasnip.nix

11 lines
206 B
Nix
Raw Normal View History

2024-07-02 14:54:09 +02:00
_:{
opts.enable = true;
2024-07-13 13:38:40 +02:00
2024-07-13 13:44:15 +02:00
# TODO: There's a better way to do this
2024-07-13 13:38:40 +02:00
rootOpts = {
extraConfigLuaPre = ''
require("luasnip.loaders.from_lua").load({paths = "~/.config/snippets/"})
'';
};
2024-07-02 14:54:09 +02:00
}