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

11 lines
229 B
Nix

{pkgs, ...}: {
output.plugins = with pkgs.vimPlugins; [
luasnip
vim-snippets
];
extraLua = ''
require("luasnip.loaders.from_vscode").lazy_load()
require("luasnip.loaders.from_snipmate").lazy_load()
'';
}