1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-13 17:40:40 +08:00

Fix php layer

This commit is contained in:
wsdjeg 2017-02-05 22:47:04 +08:00
parent b2377a39f9
commit f076470111
2 changed files with 5 additions and 6 deletions

View File

@ -8,7 +8,8 @@
" >
" PHP 5.3+
" PCNTL Extension
" Msgpack 0.5.7+(for NeoVim) Extension or JSON(for Vim 7.4+) Extension
" Msgpack 0.5.7+(for NeoVim)Extension: https://github.com/msgpack/msgpack-php
" JSON(for Vim 7.4+)Extension
" Composer Project
" <
@ -16,10 +17,7 @@
function! SpaceVim#layers#lang#php#plugins() abort
let plugins = []
if has('nvim')
call add(plugins, ['padawan-php/deoplete-padawan'])
endif
call add(plugins, ['php-vim/phpcd.vim'])
call add(plugins, ['php-vim/phpcd.vim', { 'on_ft' : 'php'}])
return plugins
endfunction

View File

@ -522,7 +522,8 @@ requirement:
>
PHP 5.3+
PCNTL Extension
Msgpack 0.5.7+(for NeoVim) Extension or JSON(for Vim 7.4+) Extension
Msgpack 0.5.7+(for NeoVim)Extension: https://github.com/msgpack/msgpack-php
JSON(for Vim 7.4+)Extension
Composer Project
<