1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 20:20:05 +08:00

Fix php support

This commit is contained in:
wsdjeg 2017-04-07 22:41:41 +08:00
parent bc28cfdb0b
commit 56c6f39810

View File

@ -47,9 +47,9 @@ let g:deoplete#omni#input_patterns.php = get(g:deoplete#omni#input_patterns, 'ph
\'[^. \t0-9]\->\w*',
\'[^. \t0-9]\::\w*',
\])
let g:deoplete#ignore_sources.php = get(g:deoplete#ignore_sources, 'php', ['omni', 'around', 'member'])
call deoplete#custom#set('phpcd', 'mark', '')
call deoplete#custom#set('phpcd', 'input_pattern', '\w*|[^. \t]->\w*|\w*::\w*')
let g:deoplete#ignore_sources.php = get(g:deoplete#ignore_sources, 'php', ['phpcd', 'around', 'member'])
"call deoplete#custom#set('phpcd', 'mark', '')
"call deoplete#custom#set('phpcd', 'input_pattern', '\w*|[^. \t]->\w*|\w*::\w*')
" lua
let g:deoplete#omni_patterns.lua = get(g:deoplete#omni_patterns, 'lua', '.')