neovim-flake/modules/git/git.nix

21 lines
309 B
Nix
Raw Normal View History

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