From ddce82d0d1fb88c957ecb7debed2ae6c63b60750 Mon Sep 17 00:00:00 2001 From: Velnbur Date: Wed, 24 Jan 2024 17:05:56 +0200 Subject: [PATCH] plugins/neogit: add `graph_style` option --- plugins/git/neogit.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/git/neogit.nix b/plugins/git/neogit.nix index d1b006c8..5a35c624 100644 --- a/plugins/git/neogit.nix +++ b/plugins/git/neogit.nix @@ -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 {