Skip to content

New changes re-introduce text-hiding bugs #106

Closed
@serhez

Description

Describe the bug
The new big changes that have come in the last several days have re-introduced bugs I had experienced in the past relating to the indent guides having higher priority than the real text in the buffer, therefore hiding the text. Personally, I have been unable to use the plugin because I often can't read the text in my files.

To Reproduce
I am now encountering these bugs quite regularly, so I don't think there is the need to give a specific example. You should encounter the bug by just opening a large text file with different indentation levels and trying to press << (in normal mode) several times on a deeply indented line. If you do need a specific example, let me know.

Expected behavior
I expect indent guides to never hide real text in any situation. It's quite possible I'm missing something, but couldn't the priority of the indent guides text simply be always lower than the real text? Perhaps it would be useful to see how indent-blankline does it, since this issue does not exist in that plugin?

Screenshots

A stupid badly-formatted example to showcase the issue (but I often encounter this issue in my real well-formatted code):
Screenshot 2024-06-10 at 00 12 28

Extra information

Thanks for the amazing plugin :)

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions