Fix up settings for neocomplete
This commit is contained in:
parent
929f70c11d
commit
157b5d1981
@ -38,15 +38,4 @@ autocmd FileType html,markdown setlocal omnifunc=htmlcomplete#CompleteTags
|
|||||||
autocmd FileType javascript setlocal omnifunc=javascriptcomplete#CompleteJS
|
autocmd FileType javascript setlocal omnifunc=javascriptcomplete#CompleteJS
|
||||||
autocmd FileType python setlocal omnifunc=pythoncomplete#Complete
|
autocmd FileType python setlocal omnifunc=pythoncomplete#Complete
|
||||||
autocmd FileType xml setlocal omnifunc=xmlcomplete#CompleteTags
|
autocmd FileType xml setlocal omnifunc=xmlcomplete#CompleteTags
|
||||||
|
autocmd FileType ruby setlocal omnifunc=rubycomplete#Complete
|
||||||
" 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*::'
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user