From b302da9ad220a7699d4b0ebf642529d142a0b9cf Mon Sep 17 00:00:00 2001 From: Raphael Date: Sun, 11 Jun 2023 02:32:41 +0800 Subject: [PATCH] fix(lsp): use percentage format on lsp.status (#23971) --- runtime/lua/vim/lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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