You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like some combination of spaces / tabs (not sure which one exactly) at the beginning of a line will mess up highlight, with iron.nvim randomly showing and hiding the highlights.
In the following example I use a red background for the highlights, in order to emphasize the problem. I do so with:
highlight = {
italic = true,
bg = "red"
},
Notice that, once I scroll up, highlights are randomly shown and hidden.
20240214T193635.webm
I realized the bug when my code started to randomly being rendered in italics (which is the default highlight style).
EDIT: To work around the bug, disable highlights with highlight=false.
The text was updated successfully, but these errors were encountered:
raffaem
changed the title
Highlights messed up
Highlights randomly disappears
Feb 14, 2024
raffaem
changed the title
Highlights randomly disappears
Highlights randomly appears and disappears
Feb 14, 2024
It looks like some combination of spaces / tabs (not sure which one exactly) at the beginning of a line will mess up highlight, with iron.nvim randomly showing and hiding the highlights.
In the following example I use a red background for the highlights, in order to emphasize the problem. I do so with:
Notice that, once I scroll up, highlights are randomly shown and hidden.
20240214T193635.webm
I realized the bug when my code started to randomly being rendered in italics (which is the default highlight style).
EDIT: To work around the bug, disable highlights with
highlight=false
.The text was updated successfully, but these errors were encountered: