mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 00:48:58 +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;
|
||||
};
|
||||
|
||||
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 {
|
||||
description = "Commit popup configuration";
|
||||
type = types.submodule {
|
||||
|
@ -218,6 +223,7 @@ in {
|
|||
disable_builtin_notifications = disableBuiltinNotifications;
|
||||
use_magit_keybindings = useMagitKeybindings;
|
||||
commit_popup = commitPopup;
|
||||
graph_style = graphStyle;
|
||||
};
|
||||
in
|
||||
mkIf cfg.enable {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue