From 4314571ff4137f24ceff23b0d3c5cf9a31e300fd Mon Sep 17 00:00:00 2001 From: Martin Larsson Date: Mon, 7 Oct 2024 19:02:12 +0200 Subject: [PATCH] Turn off "auto_show_console" in Neogit. This fixes an error which occured when Neogit takes serveral seconds to load (i.e in really large repos) --- home/.config/nvim/lua/plugs/neogit.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/home/.config/nvim/lua/plugs/neogit.lua b/home/.config/nvim/lua/plugs/neogit.lua index 636771b..7c66db3 100644 --- a/home/.config/nvim/lua/plugs/neogit.lua +++ b/home/.config/nvim/lua/plugs/neogit.lua @@ -5,5 +5,9 @@ return { }, event = "VeryLazy", lazy = true, - config = true + config = function() + require("neogit").setup { + auto_show_console = false, + } + end }