at master 658 B view raw
1{ 2 vimUtils, 3 vim-full, 4 vimPlugins, 5 pkgs, 6}: 7let 8 inherit (vimUtils) buildVimPlugin; 9 10 packages.myVimPackage.start = with vimPlugins; [ vim-nix ]; 11 12in 13pkgs.recurseIntoAttrs (rec { 14 vim_empty_config = vimUtils.vimrcFile { 15 beforePlugins = ""; 16 customRC = ""; 17 }; 18 19 ### vim tests 20 ################## 21 22 test_vim_with_vim_nix_using_plug = vim-full.customize { 23 name = "vim-with-vim-addon-nix-using-plug"; 24 vimrcConfig.plug.plugins = with vimPlugins; [ vim-nix ]; 25 }; 26 27 test_vim_with_vim_nix = vim-full.customize { 28 name = "vim-with-vim-addon-nix"; 29 vimrcConfig.packages.myVimPackage.start = with vimPlugins; [ vim-nix ]; 30 }; 31})