mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 08:53:28 +02:00
plugins/neogit: add graph_style
option
This commit is contained in:
parent
85ee07abde
commit
ddce82d0d1
1 changed files with 6 additions and 0 deletions
|
@ -65,6 +65,11 @@ in {
|
||||||
default = null;
|
default = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
graphStyle = helpers.defaultNullOpts.mkEnumFirstDefault ["ascii" "unicode"] ''
|
||||||
|
"ascii" is the graph the git CLI generates
|
||||||
|
"unicode" is the graph like https://github.com/rbong/vim-flog
|
||||||
|
'';
|
||||||
|
|
||||||
commitPopup = mkOption {
|
commitPopup = mkOption {
|
||||||
description = "Commit popup configuration";
|
description = "Commit popup configuration";
|
||||||
type = types.submodule {
|
type = types.submodule {
|
||||||
|
@ -218,6 +223,7 @@ in {
|
||||||
disable_builtin_notifications = disableBuiltinNotifications;
|
disable_builtin_notifications = disableBuiltinNotifications;
|
||||||
use_magit_keybindings = useMagitKeybindings;
|
use_magit_keybindings = useMagitKeybindings;
|
||||||
commit_popup = commitPopup;
|
commit_popup = commitPopup;
|
||||||
|
graph_style = graphStyle;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
mkIf cfg.enable {
|
mkIf cfg.enable {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue