Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / test / vim / default.nix
blob33e1e551d4f926e3e1b95a61d2dfb08f0491cdce
1 { vimUtils, vim-full, writeText, vimPlugins
2 , lib, fetchFromGitHub
3 , pkgs
4 }:
5 let
6   inherit (vimUtils) buildVimPlugin;
8   packages.myVimPackage.start = with vimPlugins; [ vim-nix ];
11   pkgs.recurseIntoAttrs (rec {
12   vim_empty_config = vimUtils.vimrcFile { beforePlugins = ""; customRC = ""; };
14   ### vim tests
15   ##################
17   test_vim_with_vim_nix_using_plug = vim-full.customize {
18     name = "vim-with-vim-addon-nix-using-plug";
19     vimrcConfig.plug.plugins = with vimPlugins; [ vim-nix ];
20   };
22   test_vim_with_vim_nix = vim-full.customize {
23     name = "vim-with-vim-addon-nix";
24     vimrcConfig.packages.myVimPackage.start = with vimPlugins; [ vim-nix ];
25   };