mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-07 11:25:06 +02:00
neogit: package option
This commit is contained in:
parent
09ed640a0f
commit
f5a3b9b7dd
1 changed files with 7 additions and 1 deletions
|
@ -18,6 +18,12 @@ in
|
|||
plugins.neogit = {
|
||||
enable = mkEnableOption "Enable neogit";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.vimPlugins.neogit;
|
||||
description = "Plugin to use for neogit";
|
||||
};
|
||||
|
||||
disableSigns = mkOption {
|
||||
description = "Disable signs";
|
||||
type = types.nullOr types.bool;
|
||||
|
@ -217,7 +223,7 @@ in
|
|||
in
|
||||
mkIf cfg.enable {
|
||||
extraPlugins = with pkgs.vimPlugins; [
|
||||
neogit
|
||||
cfg.package
|
||||
plenary-nvim
|
||||
] ++ optional cfg.integrations.diffview diffview-nvim;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue