mirror of
https://github.com/neovim/neovim
synced 2025-07-18 18:21:46 +00:00
fix(lsp): use percentage format on lsp.status (#23971)
This commit is contained in:
@ -933,7 +933,7 @@ function lsp.status()
|
|||||||
end
|
end
|
||||||
local message = table.concat(messages, ', ')
|
local message = table.concat(messages, ', ')
|
||||||
if percentage then
|
if percentage then
|
||||||
return string.format('%03d: %s', percentage, message)
|
return string.format('%3d%%: %s', percentage, message)
|
||||||
end
|
end
|
||||||
return message
|
return message
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user