mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
Added missing git package in fugitive and neogit (#42)
* Added git to extra packages * Added missing git package in fugitive and neogit
This commit is contained in:
parent
8fffcdcbc4
commit
31b38e5649
3 changed files with 6 additions and 2 deletions
|
@ -6,6 +6,7 @@ mkPlugin attrs {
|
|||
name = "fugitive";
|
||||
description = "Enable vim-fugitive";
|
||||
extraPlugins = [ pkgs.vimPlugins.vim-fugitive ];
|
||||
extraPackages = [ pkgs.git ];
|
||||
|
||||
# In typical tpope fashin, this plugin has no config options
|
||||
options = {};
|
||||
|
|
|
@ -221,6 +221,8 @@ in
|
|||
plenary-nvim
|
||||
] ++ optional cfg.integrations.diffview diffview-nvim;
|
||||
|
||||
extraPackages = [ pkgs.git ];
|
||||
|
||||
extraConfigLua = ''
|
||||
require('neogit').setup(${setupOptions})
|
||||
'';
|
||||
|
|
|
@ -68,6 +68,7 @@ rec {
|
|||
name,
|
||||
description,
|
||||
extraPlugins ? [],
|
||||
extraPackages ? [],
|
||||
options ? {},
|
||||
...
|
||||
}: let
|
||||
|
@ -84,7 +85,7 @@ rec {
|
|||
} // pluginOptions;
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
inherit extraPlugins globals;
|
||||
inherit extraPlugins extraPackages globals;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue