Skip to content

Commit

Permalink
We're a percentage now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Aug 9, 2024
1 parent 10040f5 commit bf59f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lean/progress.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function M.percentage(bufnr)
bufnr = bufnr or 0
local proc_info = M.proc_infos[vim.uri_from_bufnr(bufnr)]
if not proc_info then
return 1
return 100
end

local finished = vim.iter(proc_info):fold(0, function(acc, range)
Expand Down

0 comments on commit bf59f4c

Please sign in to comment.