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

How to get all options to show up? #198

Open
jave3737 opened this issue Dec 1, 2021 · 1 comment
Open

How to get all options to show up? #198

jave3737 opened this issue Dec 1, 2021 · 1 comment

Comments

@jave3737
Copy link

jave3737 commented Dec 1, 2021

I am currently using:

  • windows 10
  • vim8.2
  • rust-analyzer

And the following settings for mucomplete in my vimrc.

set completeopt+=menuone
set completeopt+=noselect
set omnifunc=LanguageClient#complete
set signcolumn=yes
let g:mucomplete#enable_auto_at_startup = 1
let g:mucomplete#reopen_immediately = 0
let g:mucomplete#completion_delay = 100 

I have omni completion working but I would like it to show all options but so far i have to type at least one character before the options appear.

image
If I press tab at this point nothing shows up. But if I press <c-x><c-o> then everything shows up.
image

If I then type something like "col" in this case then press tab i get autocompletion
image

How can I get options to show up immediately once I press tab without having to type certain letters first. I don't always know what the next letter should be.

@lifepillar
Copy link
Owner

You may try setting g:mucomplete#empty_text=1. If that option has undesirable side effects (it enables completion even at the start of a line or after a space), you may customize thecan_complete condition for C++ to allow completion to be triggered after ::. See https://github.com/lifepillar/vim-mucomplete/wiki/Cpp--member-auto-completion and also #117.

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