Open iago-lito opened 4 years ago
I don't know about crossposting this to coc (it seems more an issue for this repo, than for theirs). I haven't had much time lately to deal with the issues here, but hopefully I'll soon get to this. Thanks for reporting! :)
I made some small changes to the plugin, so it won't make any movements inside a preview window or a list window. I think this might solve the problem you're talking about here. If you can verify this, and let me know it would be great! Thanks! :)
Hm, no luck after a :PlugUpdate
, or even after a fresh install. How can I help you narrow down the problem? :\
I use this plugin to not bounce around when I need to read hovertext with
coc.nvim
andCocAction("doHover")
.However,
coc
is designed to automatically close the preview as soon as the cursor moves in the main window, with settingenabled by default.
This interacts badly with
stable-windows
, for the cursor sometimes needs to be moved on preview open not to get overriden, resulting in that the preview closes as soon it is open, with no time to read it.A workaround is to disable default
coc
behaviour by setting this value tofalse
. But would it be possible to avoid the bad interaction? Would it be possible to have the cursor position escape the preview area without this move being interpreted bycoc
as a close signal?BTW should I crosspost the issue to Coc?