aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp.lua
diff options
context:
space:
mode:
authorRaphael <glepnir@neovim.pro>2023-06-11 02:32:41 +0800
committerGitHub <noreply@github.com>2023-06-10 20:32:41 +0200
commitb302da9ad220a7699d4b0ebf642529d142a0b9cf (patch)
tree4738e9eb69a03e2525bf314141f9954417410a09 /runtime/lua/vim/lsp.lua
parentc53953b400ed0dbde410dc321c0a1f95c7090aa3 (diff)
downloadrneovim-b302da9ad220a7699d4b0ebf642529d142a0b9cf.tar.gz
rneovim-b302da9ad220a7699d4b0ebf642529d142a0b9cf.tar.bz2
rneovim-b302da9ad220a7699d4b0ebf642529d142a0b9cf.zip
fix(lsp): use percentage format on lsp.status (#23971)
Diffstat (limited to 'runtime/lua/vim/lsp.lua')
-rw-r--r--runtime/lua/vim/lsp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp.lua b/runtime/lua/vim/lsp.lua
index 6ddbfc6df7..1d9a91801a 100644
--- 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