plugins/git: add vim-fugitive; modularize

This commit is contained in:
raf 2024-04-14 18:33:16 +03:00
commit f78696f13b
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
12 changed files with 206 additions and 130 deletions

View file

@ -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
'';
};
}