ca5ab3a501
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
26 lines
708 B
Nix
26 lines
708 B
Nix
{ vimUtils, vim_configurable, writeText, vimPlugins
|
|
, lib, fetchFromGitHub
|
|
, pkgs
|
|
}:
|
|
let
|
|
inherit (vimUtils) buildVimPluginFrom2Nix;
|
|
|
|
packages.myVimPackage.start = with vimPlugins; [ vim-nix ];
|
|
|
|
in
|
|
pkgs.recurseIntoAttrs (rec {
|
|
vim_empty_config = vimUtils.vimrcFile { beforePlugins = ""; customRC = ""; };
|
|
|
|
### vim tests
|
|
##################
|
|
|
|
test_vim_with_vim_nix_using_plug = vim_configurable.customize {
|
|
name = "vim-with-vim-addon-nix-using-plug";
|
|
vimrcConfig.plug.plugins = with vimPlugins; [ vim-nix ];
|
|
};
|
|
|
|
test_vim_with_vim_nix = vim_configurable.customize {
|
|
name = "vim-with-vim-addon-nix";
|
|
vimrcConfig.packages.myVimPackage.start = with vimPlugins; [ vim-nix ];
|
|
};
|
|
})
|