From ab33b648cc0933c43709f36762d0e32d2ffa31d4 Mon Sep 17 00:00:00 2001 From: Chris Kipp Date: Fri, 24 Nov 2023 12:16:43 +0100 Subject: [PATCH] fix: make sure status is redrawn after a new status comes in --- lua/metals/status.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/metals/status.lua b/lua/metals/status.lua index 2c6bce8..04e87cd 100644 --- a/lua/metals/status.lua +++ b/lua/metals/status.lua @@ -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