Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only ghost_text, no completion window? #406

Closed
jwoudenberg opened this issue Oct 24, 2021 · 2 comments
Closed

Only ghost_text, no completion window? #406

jwoudenberg opened this issue Oct 24, 2021 · 2 comments

Comments

@jwoudenberg
Copy link

Hi there! Thank you for this project, first autocompleter for Vim I really like! In particular I'm excited about the experimental ghost_text option, which is something I've been looking for in Vim for some time.

My question: is there a set of options that gives me the ghost_text but no menu? I've managed to limit the amount of suggestions presented to one using configuration, and then tried playing around with the completeopt setting, putting in menu,noselect (i.e. dropping the menuone option). That didn't work though, I'm still seeing a single-option menu. Is that the expected behavior?

@hrsh7th
Copy link
Owner

hrsh7th commented Oct 24, 2021

nvim-cmp supports partial completeopt values. There are no plans to add full support.

In my local environment, this feature request was realized by a hacky patch.
However, I don't want to add this feature as I think it will disable various features of nvim-cmp. sorry.

@jwoudenberg
Copy link
Author

Totally fair! Thank you for the quick response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants