ma vim: use vimPlugins, not vam

This commit is contained in:
makefu 2022-06-06 21:21:00 +02:00
parent de582a2d00
commit 5e4e92b5fa
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -6,16 +6,15 @@
((pkgs.vim_configurable.override { python = pkgs.python3; }).customize {
name = "vim";
vimrcConfig.customRC = builtins.readFile ./vimrc;
vimrcConfig.vam.knownPlugins = pkgs.vimPlugins;
vimrcConfig.vam.pluginDictionaries = [
{ names = [ "undotree"
vimrcConfig.packages.myVimPackage = with pkgs.vimPlugins; { start = [
"undotree"
"YouCompleteMe"
#"UltiSnips"
"vim-better-whitespace" ]; }
# vim-nix handles indentation better but does not perform sanity
{ names = [ "vim-addon-nix" ]; ft_regex = "^nix\$"; }
"vim-addon-nix"
"vim-better-whitespace"
];
};
})
];
}