fix: progress component changes size while scrolling (#986)
Fixes https://github.com/nvim-lualine/lualine.nvim/issues/849
This commit is contained in:
parent
092f2497f0
commit
0695853055
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue