We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c376c3 commit f18f7d6Copy full SHA for f18f7d6
lua/lsp-status/statusline.lua
@@ -81,7 +81,7 @@ local function get_lsp_statusline(bufnr)
81
contents = msg.title
82
if msg.message then contents = contents .. ' ' .. msg.message end
83
84
- if msg.percentage then contents = contents .. ' (' .. msg.percentage .. ')' end
+ if msg.percentage then contents = contents .. string.format(" (%.0f%%)", msg.percentage) end
85
86
if msg.spinner then
87
contents = config.spinner_frames[(msg.spinner % #config.spinner_frames) + 1] .. ' ' ..
0 commit comments