mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-30 23:55:15 +02:00
helpers/neovim-plugin/mkNeovimPlugin: add a colorscheme argument and factor out logic
This commit is contained in:
parent
9f9d9ac0b7
commit
3c9a4b67ae
3 changed files with 22 additions and 9 deletions
|
@ -7,7 +7,7 @@
|
|||
}:
|
||||
helpers.neovim-plugin.mkNeovimPlugin config {
|
||||
name = "gruvbox";
|
||||
namespace = "colorschemes";
|
||||
colorscheme = true;
|
||||
originalName = "gruvbox.nvim";
|
||||
defaultPackage = pkgs.vimPlugins.gruvbox-nvim;
|
||||
|
||||
|
@ -57,8 +57,4 @@ helpers.neovim-plugin.mkNeovimPlugin config {
|
|||
bright_purple = "#fb4934";
|
||||
};
|
||||
};
|
||||
|
||||
extraConfig = cfg: {
|
||||
colorscheme = "gruvbox";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue