diff --git a/lua/lualine/components/progress.lua b/lua/lualine/components/progress.lua index 5611fbe..c4891fe 100644 --- a/lua/lualine/components/progress.lua +++ b/lua/lualine/components/progress.lua @@ -8,7 +8,7 @@ local function progress() elseif cur == total then return 'Bot' else - return math.floor(cur / total * 100) .. '%%' + return string.format('%2d%%%%', math.floor(cur / total * 100)) end end