nixos/home/common/core/nixvim/plugins/luasnip.nix

16 lines
303 B
Nix
Raw Permalink Normal View History

2024-06-04 11:47:56 +01:00
{ pkgs, ... }: {
programs.nixvim.plugins.luasnip = {
enable = true;
extraConfig = {
enable_autosnippets = true;
store_selection_keys = "<Tab>";
};
fromVscode = [
{
lazyLoad = true;
paths = "${pkgs.vimPlugins.friendly-snippets}";
}
];
};
}