Closed rosskidson closed 2 years ago
This is because of a bug in neovim. PR to fix it is here: https://github.com/neovim/neovim/pull/12667
Thanks for the quick reply!
I tried your bugfix branch, and it did indeed fix the text selecting problem, thank you. However the hover box still remained in the incorrect location. That is, when I have multiple vertical panes, and I hover over an element in the far right pane, the hover popup appears on the left.
Should I perhaps open a separate issue to decouple these two problems? And is this maybe an issue with the gnvim-lsp
plugin rather than gnvim itself?
The linked neovim PR was merged. If you still care for the builtin cursor tooltip, open another issue. I've not used it personally in years, and I'm planning to remove it completely.
When multiple panes open and the mouse is used to click and select text for a visual mode selection, the selection is offset by the width of the first pane. See screenshot.
The mouse left button is depressed at the time of screenshot.
The same problem happens for horizontal panes, the mouse needs to be moved further down in order to select text. In my vimrc I have
set mouse=a
In the screenshot above it is also apparent that the hover box window position is also incorrect. The drawing coordinates seem to be with respect to the window instead of the pane.