diff --git a/autoload/SpaceVim/layers/lang/php.vim b/autoload/SpaceVim/layers/lang/php.vim index d3d9d4b1f..aac9269f9 100644 --- a/autoload/SpaceVim/layers/lang/php.vim +++ b/autoload/SpaceVim/layers/lang/php.vim @@ -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 diff --git a/doc/SpaceVim.txt b/doc/SpaceVim.txt index f82dd67c1..578dbdee4 100644 --- a/doc/SpaceVim.txt +++ b/doc/SpaceVim.txt @@ -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 <