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).
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=falseto thehighlight.on_yankoptions. 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).