Coc.nvim: Limit Number of Autocomplete Suggestions Displayed

Created on 10 Jun 2020  路  2Comments  路  Source: neoclide/coc.nvim

I am having issues with two things:

  1. Sometimes autocomplete fills the entire screen and blocks my ability to a see a function's signature. The screenshot below is with "suggest.maxCompleteItemCount": 300. Is there a setting to limit the number of displayed items, while still allowing me to tab through all 300 options?

image

Depending on the cursor's location on the page, it will show the signature.
image

  1. Sometimes I hit a bug where a signature does not display, even when I've reduced the number of maximum items ("suggest.maxCompleteItemCount": 20), so I'm not even sure if limiting the number of items displayed in the menu will help this case.

image

Most helpful comment

For any newbies like me :set pumheight=20

All 2 comments

  1. Check vim's option for pum height

  2. Excepted since the float window of signature is removed when overlap with pum

For any newbies like me :set pumheight=20

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tom-james-watson picture tom-james-watson  路  3Comments

hackingcat picture hackingcat  路  3Comments

chemzqm picture chemzqm  路  3Comments

skylite21 picture skylite21  路  3Comments

zhou13 picture zhou13  路  3Comments