mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 09:14:31 +02:00
fugitive: init plugin
This commit is contained in:
parent
0d51b37154
commit
3b02d7ff06
3 changed files with 14 additions and 0 deletions
|
@ -55,6 +55,7 @@
|
||||||
|
|
||||||
plugins.undotree.enable = true;
|
plugins.undotree.enable = true;
|
||||||
plugins.gitgutter.enable = true;
|
plugins.gitgutter.enable = true;
|
||||||
|
plugins.fugitive.enable = true;
|
||||||
plugins.commentary.enable = true;
|
plugins.commentary.enable = true;
|
||||||
plugins.startify = {
|
plugins.startify = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
./statuslines/airline.nix
|
./statuslines/airline.nix
|
||||||
|
|
||||||
./git/gitgutter.nix
|
./git/gitgutter.nix
|
||||||
|
./git/fugitive.nix
|
||||||
|
|
||||||
./utils/undotree.nix
|
./utils/undotree.nix
|
||||||
./utils/commentary.nix
|
./utils/commentary.nix
|
||||||
|
|
12
plugins/git/fugitive.nix
Normal file
12
plugins/git/fugitive.nix
Normal 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 = {};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue