Skip to content

Commit

Permalink
fix: make sure status is redrawn after a new status comes in
Browse files Browse the repository at this point in the history
  • Loading branch information
ckipp01 committed Nov 24, 2023
1 parent a3a75d0 commit ab33b64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/metals/status.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ local function handle_status(status)
local type = status.statusType
if status.hide then
set_status("", type)
vim.cmd.redrawstatus()
else
if status.text then
set_status(status.text, type)
vim.cmd.redrawstatus()
end

-- This status actually appears a lot in external sources, but really isn't
Expand Down

0 comments on commit ab33b64

Please sign in to comment.