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

Update readme for php support

This commit is contained in:
wsdjeg 2017-02-21 21:21:04 +08:00
parent 78872629fd
commit 3d0506ab42
2 changed files with 12 additions and 4 deletions

View File

@ -21,7 +21,7 @@
- [go support](#go-support)
- lua support
- perl support
- php support
- [php support](#php-support)
- rust support
- [Unite centric work-flow](#unite-centric-work-flow)
- [Neovim centric - Dark powered mode](#neovim-centric---dark-powered-mode-of-spacevim)
@ -154,6 +154,10 @@ git clone https://github.com/SpaceVim/SpaceVim.git AppData\Local\nvim
2. syntax check:
![2017-02-02_1358x720](https://cloud.githubusercontent.com/assets/13142418/22537883/36de7b5e-e949-11e6-866f-73c48e8f59aa.png)
###### php support
1. code completion:
[![asciicast](https://asciinema.org/a/4dzyyjymrguylqt21igxlhhqx.png)](https://asciinema.org/a/4dzyyjymrguylqt21igxlhhqx)
##### Neovim centric - Dark powered mode of SpaceVim.
By default, SpaceVim use these dark powered plugins:
@ -294,8 +298,8 @@ Name | Description
[javascript-indent] | Javascript indent script
[tern] | Provides Tern-based JavaScript editing support
[php] | Up-to-date PHP syntax file
[phpcd] | PHP Completion Daemon for Vim/NeoVim
[phpfold] | PHP folding
[phpcomplete] | Improved PHP omnicompletion
[phpindent] | PHP official indenting
[phpspec] | PhpSpec integration
@ -674,8 +678,8 @@ If you get any issues, please open an issue with the ISSUE_TEMPLATE. It is usefu
[javascript-indent]: https://github.com/jiangmiao/simple-javascript-indenter
[tern]: https://github.com/marijnh/tern_for_vim
[php]: https://github.com/StanAngeloff/php.vim
[phpfold]: https://github.com/rayburgemeestre/phpfolding.vim
[phpcomplete]: https://github.com/shawncplus/phpcomplete.vim
[phpfold]: https://github.com/lvht/phpfold.vim
[phpcd]: https://github.com/lvht/phpcd.vim
[phpindent]: https://github.com/2072/PHP-Indenting-for-VIm
[phpspec]: https://github.com/rafi/vim-phpspec
[vimfiler]: https://github.com/Shougo/vimfiler.vim

View File

@ -18,6 +18,10 @@
function! SpaceVim#layers#lang#php#plugins() abort
let plugins = []
call add(plugins, ['php-vim/phpcd.vim', { 'on_ft' : 'php'}])
call add(plugins, ['StanAngeloff/php.vim', { 'on_ft' : 'php'}])
call add(plugins, ['2072/PHP-Indenting-for-VIm', { 'on_ft' : 'php'}])
call add(plugins, ['rafi/vim-phpspec', { 'on_ft' : 'php'}])
call add(plugins, ['lvht/phpfold.vim', { 'on_ft' : 'php'}])
return plugins
endfunction