Skip to content

Commit

Permalink
Merge pull request #629 from ckipp01/redraw
Browse files Browse the repository at this point in the history
fix: make sure status is redrawn after a new status comes in
  • Loading branch information
ckipp01 authored Nov 24, 2023
2 parents a3a75d0 + ab33b64 commit 1a008b3
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 1a008b3

Please sign in to comment.