nix: stop using with

namespace pollution
This commit is contained in:
Léana 江 2024-04-23 19:05:53 +02:00 committed by Léana 江
parent 6877096a26
commit 10b33e5584
15 changed files with 132 additions and 125 deletions

View file

@ -7,15 +7,19 @@
{
enable = true;
extraConfig = readFile ./vimrc;
plugins = with pkgs.vimPlugins; [
vim-sleuth
vim-surround
vim-fugitive
vim-commentary
undotree
tabular
vim-wakatime
vim-caddyfile
];
plugins =
let
vpkgs = pkgs.vimPlugins;
in
[
vpkgs.vim-sleuth
vpkgs.vim-surround
vpkgs.vim-fugitive
vpkgs.vim-commentary
vpkgs.undotree
vpkgs.tabular
vpkgs.vim-wakatime
vpkgs.vim-caddyfile
];
};
}