diff --git a/vim/settings/neocomplete.vim b/vim/settings/neocomplete.vim index d382bf06..f9b1658d 100644 --- a/vim/settings/neocomplete.vim +++ b/vim/settings/neocomplete.vim @@ -38,15 +38,4 @@ autocmd FileType html,markdown setlocal omnifunc=htmlcomplete#CompleteTags autocmd FileType javascript setlocal omnifunc=javascriptcomplete#CompleteJS autocmd FileType python setlocal omnifunc=pythoncomplete#Complete autocmd FileType xml setlocal omnifunc=xmlcomplete#CompleteTags - -" Enable heavy omni completion. -if !exists('g:neocomplcache_omni_patterns') - let g:neocomplcache_omni_patterns = {} -endif -let g:neocomplcache_omni_patterns.php = '[^. \t]->\h\w*\|\h\w*::' -let g:neocomplcache_omni_patterns.c = '[^.[:digit:] *\t]\%(\.\|->\)' -let g:neocomplcache_omni_patterns.cpp = '[^.[:digit:] *\t]\%(\.\|->\)\|\h\w*::' - -" For perlomni.vim setting. -" https://github.com/c9s/perlomni.vim -let g:neocomplcache_omni_patterns.perl = '\h\w*->\h\w*\|\h\w*::' +autocmd FileType ruby setlocal omnifunc=rubycomplete#Complete