fix(lsp): use percentage format on lsp.status (#23971)

This commit is contained in:
Raphael 2023-06-11 02:32:41 +08:00 committed by GitHub
parent c53953b400
commit b302da9ad2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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