Get rid of heavy omni complete - seems to hang on some machines
This commit is contained in:
parent
5e4ff731de
commit
1ba9f3e1fe
@ -32,14 +32,3 @@ 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
|
autocmd FileType ruby setlocal omnifunc=rubycomplete#Complete
|
||||||
|
|
||||||
" Enable heavy omni completion.
|
|
||||||
if !exists('g:neocomplete#sources#omni#input_patterns')
|
|
||||||
let g:neocomplete#sources#omni#input_patterns = {}
|
|
||||||
endif
|
|
||||||
let g:neocomplete#sources#omni#input_patterns.python = ''
|
|
||||||
|
|
||||||
if !exists('g:neocomplete#force_omni_input_patterns')
|
|
||||||
let g:neocomplete#force_omni_input_patterns = {}
|
|
||||||
endif
|
|
||||||
let g:neocomplete#force_omni_input_patterns.ruby = '[^. *\t]\.\w*\|\h\w*::'
|
|
||||||
|
Loading…
Reference in New Issue
Block a user