Skip to content

Bad interaction with coc #4

@iago-lito

Description

@iago-lito

I use this plugin to not bounce around when I need to read hovertext with coc.nvim and CocAction("doHover").

However, coc is designed to automatically close the preview as soon as the cursor moves in the main window, with setting

"coc.preferences.previewAutoClose": true

enabled 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 to false. 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 by coc as a close signal?


BTW should I crosspost the issue to Coc?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions