iron.nvim
iron.nvim copied to clipboard
Highlights randomly appears and disappears
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.
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
.