mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:40:03 +08:00
Use omni
This commit is contained in:
parent
0841ba200c
commit
a84a91780f
@ -3,7 +3,7 @@ function! SpaceVim#layers#lang#php#plugins() abort
|
||||
if has('nvim')
|
||||
call add(plugins, ['padawan-php/deoplete-padawan'])
|
||||
endif
|
||||
call add(plugins, ['wsdjeg/phpcd.vim'])
|
||||
call add(plugins, ['php-vim/phpcd.vim'])
|
||||
return plugins
|
||||
endfunction
|
||||
|
||||
|
@ -13,7 +13,8 @@ let g:deoplete#omni#input_patterns.java = [
|
||||
\]
|
||||
let g:deoplete#omni#input_patterns.jsp = ['[^. \t0-9]\.\w*']
|
||||
let g:deoplete#omni#input_patterns.php = '\h\w*\|[^. \t]->\%(\h\w*\)\?\|\h\w*::\%(\h\w*\)\?'
|
||||
let g:deoplete#ignore_sources = {}
|
||||
let g:deoplete#omni_patterns = get(g:, 'deoplete#omni_patterns', {})
|
||||
let g:deoplete#omni_patterns.php = '->\|::'let g:deoplete#ignore_sources = {}
|
||||
let g:deoplete#ignore_sources.go = ['omni']
|
||||
call deoplete#custom#set('go', 'mark', '')
|
||||
if g:spacevim_enable_javacomplete2_py
|
||||
|
Loading…
Reference in New Issue
Block a user