Skip to content

Conversation

@parkers0405
Copy link

Summary

Fixes chunk indicator gaps/holes when lines are soft-wrapped.

Problem

When wrap is enabled, the vertical chunk indicator shows gaps on wrapped line continuations:

wrapped-line-holes

This happens because the virtual text overlay doesn't repeat on soft line breaks by default.

Solution

Add virt_text_repeat_linebreak = true to the extmark options in row_opts. This tells Neovim to repeat the virtual text on soft-wrapped line continuations.

See: https://neovim.io/doc/user/api.html#nvim_buf_set_extmark()

virt_text_repeat_linebreak: if true, the virtual text will be repeated on wrapped lines

Credits

Fixes #136
Fixes #161

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chunk doesnt render correctly Wrapped Line virtural text consistency

1 participant