Skip to content

Commit

Permalink
Only show spinner when cmdheight is > 0
Browse files Browse the repository at this point in the history
  • Loading branch information
CKolkey committed Dec 21, 2024
1 parent b7d6bbe commit 40c6bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/neogit/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit 40c6bd7

Please sign in to comment.