neocomplete.vim icon indicating copy to clipboard operation
neocomplete.vim copied to clipboard

Can't use any key to trigger OminComplete?

Open IceNature opened this issue 11 years ago • 2 comments

I use vim-dutyl with DCD to complete D code.The configurations of NeoComplete is the on in README. And I add let g:neocomplete#sources#omni#input_patterns.d = '\h\w*'in to my _vimrc
In D buffers, the OmniComlete can't be shown as I want, and vim output error message: Vim(let):E121: Undefined variable: words
But when I use YouCompleteMe, it can work well any where I type <C-space>.

IceNature avatar Jan 10 '15 13:01 IceNature

I think the omnifunc does not support neocomplete omnifunc integration. You should use g:neocomplete#force_omni_input_patterns instead of g:neocomplete#sources#omni#input_patterns.

But when I use YouCompleteMe, it can work well any where I type <C-space>.

If you want to complete candidates by omnifunc, you should map <c-x><c-o>.

Shougo avatar Jan 13 '15 13:01 Shougo

Solved. Thank you.

IceNature avatar Jan 14 '15 13:01 IceNature