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
After connecting to an nREPL, as soon as I type any character that is not either one of (){}[]'\ (probably some others too), the top-level form (with all its nested forms) gets highlighted as if a yank has occurred.
I have tried to disable all the other plugins that might cause a conflict (even coc, treesitter and my theme), but this seems to be an issue with vim-iced. It also doesn't matter what I set my clipboard to. The highlighting only disappears after I delete my TextYankPost autocommand, which looks like this:
augroup highlight_yank
autocmd!
au TextYankPost * silent! lua vim.highlight.on_yank{higroup="IncSearch", timeout=200}
augroup END
Here is a quick demonstration (wait for the part after :IcedConnect):
A temporary fix I found is to add on_visual=false to the highlight.on_yank options. It seems that the issue has something to do with visual selection, although it occurs in normal mode.
This is not ideal, since I still want to highlight yanked text in visual mode, but it is a compromise I can live with for now (considering the amazing IDE-ish experience vim-iced has to offer).
The text was updated successfully, but these errors were encountered:
With the minimal configuration, top level form will be highlighted when <CR> entered.
So I think there is another plugin that is trying to indent every time you type.
After connecting to an nREPL, as soon as I type any character that is not either one of
(){}[]'\
(probably some others too), the top-level form (with all its nested forms) gets highlighted as if a yank has occurred.I have tried to disable all the other plugins that might cause a conflict (even coc, treesitter and my theme), but this seems to be an issue with vim-iced. It also doesn't matter what I set my clipboard to. The highlighting only disappears after I delete my TextYankPost autocommand, which looks like this:
Here is a quick demonstration (wait for the part after
:IcedConnect
):A temporary fix I found is to add
on_visual=false
to thehighlight.on_yank
options. It seems that the issue has something to do with visual selection, although it occurs in normal mode.This is not ideal, since I still want to highlight yanked text in visual mode, but it is a compromise I can live with for now (considering the amazing IDE-ish experience vim-iced has to offer).
The text was updated successfully, but these errors were encountered: