Skip to content

Duplicate text properties when opening a buffer in multiple windows #3

@char101

Description

@char101

Hi,

A text properties is associated with a buffer while a location list is associated with a window.

I have a plugin that does linting when saving a buffer and shows the error on a location list.

If I open the buffer in two different tabs, each window will have duplicate virtual texts because the buffer already has text properties set from the location list in the first window.

For my use case, since the same buffer will always have the same location list content, I can fix this by commenting the top part of Group_id and just return 0 for all case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions