Skip to content

Commit

Permalink
fix: skip lines hook
Browse files Browse the repository at this point in the history
fix #737
  • Loading branch information
lukas-reineke committed Oct 19, 2023
1 parent 9301e43 commit 8a7b48f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lua/ibl/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,10 @@ M.refresh = function(bufnr)
else
local j = i + 1
while j < #lines and (lines[j]:len() == 0 or line_skipped[j]) do
if not line_skipped[j] then
empty_line_counter = empty_line_counter + 1
end
j = j + 1
empty_line_counter = empty_line_counter + 1
end

local j_whitespace = utils.get_whitespace(lines[j])
Expand Down

0 comments on commit 8a7b48f

Please sign in to comment.