Skip to content

Inconsistent indentline rendering when same buffer is opened in multiple windows #44

@latuconsinafr

Description

@latuconsinafr

Hi, and thanks for the great plugin — I really appreciate how lightweight it is.

I understand that, by design, indent lines are not rendered in unfocused buffers to keep performance optimal. That behavior makes sense and is expected.

Expected behavior (working as designed):

When a buffer is unfocused, indent lines are not rendered.

Expected unfocused buffer behavior

This behavior is also consistent when the same buffer is opened in two different windows — both windows correctly lose indent lines when unfocused.

Same buffer in two windows

Issue:

However, when I move focus to a third buffer (in this example, nvim-tree), only one of the two windows showing the same buffer loses its indent lines, while the other still renders them.

Inconsistent indentline state

This feels inconsistent, since both windows are displaying the same buffer and are equally unfocused.

I’m not sure whether this is a known limitation or a bug, but I expected the indentline visibility to be consistent across all windows showing the same buffer.

Thanks again for the plugin, and please let me know if I can provide more details or help test a fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions