From 40c6bd7f8e85d09ef45e6a4cdc21e64c8eab05ea Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 21 Dec 2024 00:21:36 +0100 Subject: [PATCH] Only show spinner when cmdheight is > 0 --- lua/neogit/config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/neogit/config.lua b/lua/neogit/config.lua index 1b1bd841c..641bced86 100644 --- a/lua/neogit/config.lua +++ b/lua/neogit/config.lua @@ -355,7 +355,7 @@ function M.get_default_values() graph_style = "ascii", commit_date_format = nil, log_date_format = nil, - process_spinner = true, + process_spinner = vim.opt.cmdheight:get() > 0, filewatcher = { enabled = true, },