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

Perl omni complete #421

Closed jchain closed 11 years ago

jchain commented 11 years ago

Please check this blog post http://jchain.github.io/blog/2013/06/01/fix-neocomplcache-perlomni/

I think my omni_patterns mentioned in the post is verbose. How to realize 'as-you-type complete' after -> and :: in an optimal way?

Thanks!

Shougo commented 11 years ago
let g:neocomplcache_omni_patterns.perl = '[^. \t]->\%(\h\w*\)\?\|\h\w*::\%(\h\w*\)\?'
jchain commented 11 years ago

Thanks. It works like a charm.