mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 10:21:31 +00:00
plugins/git: add vim-fugitive; modularize
This commit is contained in:
parent
165c3369aa
commit
f78696f13b
12 changed files with 206 additions and 130 deletions
|
@ -1,6 +1,18 @@
|
|||
{
|
||||
{lib, ...}: let
|
||||
inherit (lib.options) mkEnableOption;
|
||||
in {
|
||||
imports = [
|
||||
./config.nix
|
||||
./git.nix
|
||||
./gitsigns
|
||||
./vim-fugitive
|
||||
];
|
||||
|
||||
options.vim.git = {
|
||||
enable = mkEnableOption ''
|
||||
git integration suite.
|
||||
|
||||
Enabling this option will enable the following plugins:
|
||||
* gitsigns
|
||||
* vim-fugitive
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue