From 157b5d19815ab66e588fdabca465b2f5895fd2d0 Mon Sep 17 00:00:00 2001 From: Yan Pritzker Date: Mon, 20 Jan 2014 11:21:25 -0600 Subject: [PATCH] Fix up settings for neocomplete --- vim/settings/neocomplete.vim | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/vim/settings/neocomplete.vim b/vim/settings/neocomplete.vim index d382bf0..f9b1658 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