hrsh7th / nvim-cmp

A completion plugin for neovim coded in Lua.
MIT License
7.45k stars 370 forks source link

Wrong doc window position on multiple functions #1846

Open qbnil opened 3 months ago

qbnil commented 3 months ago

FAQ

Announcement

Minimal reproducible full config

-

Description

Wierd doc window positioning with print function in python

Steps to reproduce

I didn't notice this behaviour with anything but print function in python, apart from that everything seems to be fine, prolly there is a way to strictly manage the position of the window? To repro just use the print function in python

Expected behavior

image The normal completion window should look like this in insert mode so that it doesn't interfere with the whole coding experience

Actual behavior

But with some functions i get this abrupt documentation screen which is almost full screen, when i only needed it under, so that i can just scroll when needed, but currently i get something like this, for instance the famous print function in python, the moment i type ( image this window appears: image you see the cursor, it's where i was, i hope this gets fixed, thx for the plugin overall

Additional context

-