mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 01:04:34 +02:00
helpers/vim-plugin/mkVimPlugin: add a colorscheme argument and factor out logic
This commit is contained in:
parent
3c9a4b67ae
commit
601010900b
2 changed files with 12 additions and 6 deletions
|
@ -6,8 +6,8 @@
|
|||
...
|
||||
}:
|
||||
helpers.vim-plugin.mkVimPlugin config {
|
||||
namespace = "colorschemes";
|
||||
name = "nord";
|
||||
colorscheme = true;
|
||||
originalName = "nord.nvim";
|
||||
defaultPackage = pkgs.vimPlugins.nord-nvim;
|
||||
globalPrefix = "nord_";
|
||||
|
@ -61,8 +61,4 @@ helpers.vim-plugin.mkVimPlugin config {
|
|||
disable_background = true;
|
||||
italic = false;
|
||||
};
|
||||
|
||||
extraConfig = cfg: {
|
||||
colorscheme = "nord";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue