Shougo / neocomplcache.vim

Ultimate auto-completion system for Vim.
http://www.vim.org/scripts/script.php?script_id=2620
1.72k stars 135 forks source link

golang complete issue #446

Closed idle010 closed 11 years ago

idle010 commented 11 years ago

thanks for your great work . i meet a problem when complete with golang:

in _vimrc : let g:neocomplcache_omni_patterns.go = '\h\w*\.\?' when edit a file, we input "d", this time it will pop something, we input "dd", now it pop nothing, we input "ddd", we known it will pop nothing too, but it call complete again .i think this time should avoid call complete, could you fix this issue?

Shougo commented 11 years ago

I think you should use g:neocomplcache_force_omni_patterns instead of g:neocomplcache_omni_patterns. Some omnifunc is not supported g:neocomplcache_omni_patterns.