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

Example using mucomplete #3

Open
gauteh opened this issue Feb 13, 2018 · 2 comments
Open

Example using mucomplete #3

gauteh opened this issue Feb 13, 2018 · 2 comments

Comments

@gauteh
Copy link

gauteh commented Feb 13, 2018

When using https://github.com/lifepillar/vim-mucomplete, the following settings gives me automatic completion:

au FileType mail setlocal completeopt=menuone,noselect,noinsert
let g:mucomplete#chains.mail = [ 'user', 'ulti' ]
@adborden
Copy link
Owner

Thanks for sharing! I got this error when enabling:

$ vim
Error detected while processing /home/adborden/.vimrc:
line  165:
E121: Undefined variable: g:mucomplete#chains
Press ENTER or type command to continue

But this syntax works for me, does it work for you?

au FileType mail setlocal completeopt=menuone,noselect,noinsert
let g:mucomplete#chains = { 'mail': [ 'user', 'ulti' ] }

@gauteh
Copy link
Author

gauteh commented Feb 16, 2018 via email

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