nixos-config/config/programs/vim/modules/languages/luasnip.nix

10 lines
280 B
Nix

{pkgs, ...}: {
output.plugins = with pkgs.vimPlugins; [
luasnip
];
output.extraConfig = ''
lua require('luasnip-config')
require("luasnip.loaders.from_vscode").lazy_load()
require("luasnip.loaders.from_vscode").lazy_load({ paths = '${./snippets}' })
'';
}