diff --git a/flake.nix b/flake.nix index f239116f..2b9401c9 100644 --- a/flake.nix +++ b/flake.nix @@ -55,6 +55,7 @@ plugins.undotree.enable = true; plugins.gitgutter.enable = true; + plugins.fugitive.enable = true; plugins.commentary.enable = true; plugins.startify = { enable = true; diff --git a/plugins/default.nix b/plugins/default.nix index bca7bcb7..5a9141ca 100644 --- a/plugins/default.nix +++ b/plugins/default.nix @@ -7,6 +7,7 @@ ./statuslines/airline.nix ./git/gitgutter.nix + ./git/fugitive.nix ./utils/undotree.nix ./utils/commentary.nix diff --git a/plugins/git/fugitive.nix b/plugins/git/fugitive.nix new file mode 100644 index 00000000..957bc5ee --- /dev/null +++ b/plugins/git/fugitive.nix @@ -0,0 +1,12 @@ +{ lib, pkgs, ... }@attrs: +let + helpers = import ../helpers.nix { lib = lib; }; +in with helpers; with lib; +mkPlugin attrs { + name = "fugitive"; + description = "Enable vim-fugitive"; + extraPlugins = [ pkgs.vimPlugins.vim-fugitive ]; + + # In typical tpope fashin, this plugin has no config options + options = {}; +}