Skip to content

Commit

Permalink
fix: highlight from extmark hook
Browse files Browse the repository at this point in the history
fix #814
  • Loading branch information
lukas-reineke committed Jan 2, 2024
1 parent 5da5546 commit 3c8a185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/ibl/hooks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ M.builtin = {
end

if end_line then
end_pos = inspect_pos { end_row, end_line:find "%S" - 1 }
end_pos = inspect_pos { end_row, (end_line:find "%S" or 0) - 1 }
end_pos_scope = inspect_pos { end_row, end_col - 1 }
end
if start_line then
Expand Down

0 comments on commit 3c8a185

Please sign in to comment.