|
@@ -81,9 +81,12 @@ return {
|
|
|
},
|
|
|
lsp = {
|
|
|
function(msg)
|
|
|
- msg = msg or "LSP Inactive"
|
|
|
+ msg = msg or "LS Inactive"
|
|
|
local buf_clients = vim.lsp.buf_get_clients()
|
|
|
if next(buf_clients) == nil then
|
|
|
+ if #msg == 0 then
|
|
|
+ return "LS Inactive"
|
|
|
+ end
|
|
|
return msg
|
|
|
end
|
|
|
local buf_ft = vim.bo.filetype
|