|
@@ -84,7 +84,8 @@ return {
|
|
msg = msg or "LS Inactive"
|
|
msg = msg or "LS Inactive"
|
|
local buf_clients = vim.lsp.buf_get_clients()
|
|
local buf_clients = vim.lsp.buf_get_clients()
|
|
if next(buf_clients) == nil then
|
|
if next(buf_clients) == nil then
|
|
- if #msg == 0 then
|
|
|
|
|
|
+ -- TODO: clean up this if statement
|
|
|
|
+ if type(msg) == "boolean" or #msg == 0 then
|
|
return "LS Inactive"
|
|
return "LS Inactive"
|
|
end
|
|
end
|
|
return msg
|
|
return msg
|