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.
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_idand justreturn 0for all case.