diff options
| author | triethyl <triethylammonium@pm.me> | 2026-03-29 15:19:37 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2026-03-29 15:19:37 -0400 |
| commit | b70989225fd73fa796a1e26bcf2e3358cb802586 (patch) | |
| tree | c8dcd54abb1208179de7befadcdd86960ebf982b /lua | |
| parent | cea89c939028a23e73286c2db3fdf8839d4f3256 (diff) | |
fixed progress component?
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lineage.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lineage.lua b/lua/lineage.lua index de32717..6386610 100644 --- a/lua/lineage.lua +++ b/lua/lineage.lua @@ -126,7 +126,7 @@ M.components.progress = function (args) local curr_line = vim.api.nvim_win_get_cursor(0)[1] or 0 local lines = vim.api.nvim_buf_line_count(0) or 0 local i = math.floor((curr_line - 1) / lines * #sbar) + 1 - -- if i == nil then return "" end + if i == nil then return "" end local prog = string.rep(sbar[i], 2) return before..hi_pattern:format("Visual", prog)..after end |
