commit b302da9ad220a7699d4b0ebf642529d142a0b9cf
parent c53953b400ed0dbde410dc321c0a1f95c7090aa3
Author: Raphael <glepnir@neovim.pro>
Date: Sun, 11 Jun 2023 02:32:41 +0800
fix(lsp): use percentage format on lsp.status (#23971)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/lua/vim/lsp.lua b/runtime/lua/vim/lsp.lua
@@ -933,7 +933,7 @@ function lsp.status()
end
local message = table.concat(messages, ', ')
if percentage then
- return string.format('%03d: %s', percentage, message)
+ return string.format('%3d%%: %s', percentage, message)
end
return message
end