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
First of all thanks sharing this plugin, I've used it to replace a buggy implementation in my config built using signs instead of extmarks. In my implementation I had this same issue, but I think with extmarks it can be fixed.
Here's an video of the issue, you can see when the CursorLine enters the highlighted area it disappears. I'd guess this is due to the extmarks colour getting a higher priority.
I briefly looked into it and found this thread about that behaviour neovim/neovim#15485 . This suggests it's possible to call nvim_buf_set_extmark with opts.hl_mode to resolve this issue...
Would you be open to changing the default behaviour, or perhaps exposing this an option? If you're busy I should have time to look into this later in the week.
Screen.Recording.2023-02-28.at.4.30.56.pm.mov
Here's my tsnode-marker config (h.autocmd is an internal helper function that autmattically sets augroup)
First of all thanks sharing this plugin, I've used it to replace a buggy implementation in my config built using signs instead of extmarks. In my implementation I had this same issue, but I think with extmarks it can be fixed.
Here's an video of the issue, you can see when the
CursorLineenters the highlighted area it disappears. I'd guess this is due to the extmarks colour getting a higher priority.I briefly looked into it and found this thread about that behaviour neovim/neovim#15485 . This suggests it's possible to call
nvim_buf_set_extmarkwithopts.hl_modeto resolve this issue...Would you be open to changing the default behaviour, or perhaps exposing this an option? If you're busy I should have time to look into this later in the week.
Screen.Recording.2023-02-28.at.4.30.56.pm.mov
Here's my tsnode-marker config (
h.autocmdis an internal helper function that autmattically setsaugroup)