fugitive: init plugin

This commit is contained in:
Pedro Alves 2021-03-17 22:38:50 +00:00
parent 0d51b37154
commit 3b02d7ff06
3 changed files with 14 additions and 0 deletions

View file

@ -55,6 +55,7 @@
plugins.undotree.enable = true;
plugins.gitgutter.enable = true;
plugins.fugitive.enable = true;
plugins.commentary.enable = true;
plugins.startify = {
enable = true;

View file

@ -7,6 +7,7 @@
./statuslines/airline.nix
./git/gitgutter.nix
./git/fugitive.nix
./utils/undotree.nix
./utils/commentary.nix

12
plugins/git/fugitive.nix Normal file
View file

@ -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 = {};
}