Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The popup doesn't close when the viewport moves without the cursor moving #6

Open
Aster89 opened this issue Jan 11, 2023 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested

Comments

@Aster89
Copy link
Owner

Aster89 commented Jan 11, 2023

Notably, this happens when pressing Ctrl-E/Ctrl-Y/zl/zh/etc. in normal mode.

The popup should close and reopen when this happens. At least for cases where the movement is vertical, like with Ctrl-E/Ctrl-Y; for horizontal movements, which happen e.g. with zl/zh, the impact is probably less important, as the popup would be drawn again on the same line(s), only displaced left-or-right. For vertical movements the pop ends covering a different line and leaving its originating line escape from under it.

@Aster89 Aster89 added bug Something isn't working help wanted Extra attention is needed labels Jan 11, 2023
@Aster89
Copy link
Owner Author

Aster89 commented Jan 14, 2023

Well, I have to say that other plugins don't really care about this scenario. For instance, the plugin that YCM uses to show the type under the cursor, stays even if the viewport moves. Vim-matchup has a strange behavior too (andymass/vim-matchup#268).

@Aster89 Aster89 added the question Further information is requested label Jan 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant