2023-02-01 19:11:37 +00:00
|
|
|
{
|
2023-04-17 21:55:12 +00:00
|
|
|
pkgs,
|
2023-02-01 19:11:37 +00:00
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib;
|
|
|
|
with builtins; let
|
|
|
|
cfg = config.vim.git;
|
|
|
|
in {
|
|
|
|
options.vim.git = {
|
2023-04-17 21:55:12 +00:00
|
|
|
enable = mkEnableOption "Git support";
|
2023-02-01 19:11:37 +00:00
|
|
|
|
2023-04-17 21:55:12 +00:00
|
|
|
gitsigns = {
|
|
|
|
enable = mkEnableOption "gitsigns";
|
2023-02-01 19:11:37 +00:00
|
|
|
|
2023-04-17 21:55:12 +00:00
|
|
|
codeActions = mkEnableOption "gitsigns codeactions through null-ls";
|
2023-03-31 15:47:17 +00:00
|
|
|
};
|
2023-04-17 21:55:12 +00:00
|
|
|
};
|
2023-02-01 19:11:37 +00:00
|
|
|
}
|