Replies: 1 comment 6 replies
-
Probably, the gap of 1 & 3 is width of border lines. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I've experienced some problems with the lsp-hover on VIM 9.0 while scrolling completely down. Often, the scroll is stuck before the end, leaving some precious documentation unreadable. It becomes more apparent when the popup width is smaller.
I spotted the commit (9baef1f1) by @hrsh7th at the date of 22-12-03 changing the following
File: /vim-lsp/autoload/vital/_lsp/VS/Vim/Window.vim
Line: 109
If I understand correctly,
topline = Number of line in the popup, minus the height of the popup, which contains +2 lines for the borders (top, bottom lines), +1 for rounding. So...
The initial +3 fix my situation.
I am asking why this line has changed from +3 to +1 ? It might be for NeoVim?
Thank you!
My VIM version:
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled May 04 2023 10:24:44)
Beta Was this translation helpful? Give feedback.
All reactions