nvim-cmp icon indicating copy to clipboard operation
nvim-cmp copied to clipboard

Documentation not using height that is available when the screen is split

Open David-Else opened this issue 4 years ago • 5 comments

NVIM v0.6.0

Using the Deno LS, Linux, Gnome Terminal

Describe the bug

The document height is too small when the screen is split vertically, there is space to display all of it, but I still need to scroll.

This is with a vertical split, it could fit on with no scrolling needed: Screenshot from 2021-12-01 21-56-37

This is without the split, it all fits on: Screenshot from 2021-12-01 21-56-07

David-Else avatar Dec 01 '21 22:12 David-Else

It seems to be a neovim core's bug.

I think you can reproduce similar problem with textDocument/hover too.

hrsh7th avatar Dec 02 '21 02:12 hrsh7th

textDocument/hover works OK:

Screenshot from 2021-12-02 09-41-40 Screenshot from 2021-12-02 09-42-01

David-Else avatar Dec 02 '21 09:12 David-Else

No. What I want to say is that neovim's core API itself has been affected by split windows strangely. google translated

https://user-images.githubusercontent.com/629908/144409951-1db32b2f-7a0e-4602-a669-eb5eeb284f28.mp4

hrsh7th avatar Dec 02 '21 11:12 hrsh7th

OK, thanks for the explanation.

It would be great if someone could create an issue, I don't think I have the technical knowledge of Neovim to do that well.

David-Else avatar Dec 02 '21 11:12 David-Else

Is there any update on this? I seem to experiencing an identical issue here in 2025.

ActivexDiamond avatar May 26 '25 11:05 ActivexDiamond