hrsh7th/nvim-compe

max_items / min_length per source

entropitor opened this issue · 1 comments

Is your feature request related to a problem? Please describe.

The buffer and emoji source can give a pretty long list. While these sources are useful, it's often not useful to have the full list when you trigger completion without any text. The latter is really useful if you want to e.g. see which fields an object has. By having an option max_items or min_length per source, we could make sure that we don't see all emoji when triggering autocomplete in this way

Describe the solution you'd like

Add the option max_items and / or min_length (per source) see |compe-source|

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.