Files
nixpkgs/pkgs/test/vim/default.nix
Wolfgang Walther 91a8fee3aa treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00

32 lines
652 B
Nix

{
vimUtils,
vim-full,
vimPlugins,
pkgs,
}:
let
inherit (vimUtils) buildVimPlugin;
packages.myVimPackage.start = with vimPlugins; [ vim-nix ];
in
pkgs.recurseIntoAttrs {
vim_empty_config = vimUtils.vimrcFile {
beforePlugins = "";
customRC = "";
};
### vim tests
##################
test_vim_with_vim_nix_using_plug = vim-full.customize {
name = "vim-with-vim-addon-nix-using-plug";
vimrcConfig.plug.plugins = with vimPlugins; [ vim-nix ];
};
test_vim_with_vim_nix = vim-full.customize {
name = "vim-with-vim-addon-nix";
vimrcConfig.packages.myVimPackage.start = with vimPlugins; [ vim-nix ];
};
}