-
Notifications
You must be signed in to change notification settings - Fork 309
Description
Hello, firstly thank you for your work on this plugin and related ones.
I installed vim-lsp on vim8 a few days ago, and found that scrolling in popup windows was not possible. I understand that a big part of the issue is that vim8's popup window interface is not very complete, which has also been mentioned in #395 and #403. (Please correct me if I am wrong about either of these!)
So I wrote a tiny function which helps to carry out the scrolling https://github.com/yongrenjie/dotfiles/blob/master/.vimrc#L57-L80., which is partly adapted from https://fortime.ws/blog/2020/03/14/20200312-01/ although I added some touches. It seems like it would be easier to integrate this into vim-lsp since you keep track of the popup window ID already. Would you be interested in a PR (might take a couple of days though as I'm not very good at vimscript)? Although I hardcoded it to 3 lines here, the user could conceivably choose how fast to scroll using a setting like g:vim_lsp_scroll_speed
.