mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-23 17:49:57 +08:00
Update readme for php support
This commit is contained in:
parent
78872629fd
commit
3d0506ab42
12
README.md
12
README.md
@ -21,7 +21,7 @@
|
|||||||
- [go support](#go-support)
|
- [go support](#go-support)
|
||||||
- lua support
|
- lua support
|
||||||
- perl support
|
- perl support
|
||||||
- php support
|
- [php support](#php-support)
|
||||||
- rust support
|
- rust support
|
||||||
- [Unite centric work-flow](#unite-centric-work-flow)
|
- [Unite centric work-flow](#unite-centric-work-flow)
|
||||||
- [Neovim centric - Dark powered mode](#neovim-centric---dark-powered-mode-of-spacevim)
|
- [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:
|
2. syntax check:
|
||||||

|

|
||||||
|
|
||||||
|
###### php support
|
||||||
|
1. code completion:
|
||||||
|
[](https://asciinema.org/a/4dzyyjymrguylqt21igxlhhqx)
|
||||||
|
|
||||||
##### Neovim centric - Dark powered mode of SpaceVim.
|
##### Neovim centric - Dark powered mode of SpaceVim.
|
||||||
|
|
||||||
By default, SpaceVim use these dark powered plugins:
|
By default, SpaceVim use these dark powered plugins:
|
||||||
@ -294,8 +298,8 @@ Name | Description
|
|||||||
[javascript-indent] | Javascript indent script
|
[javascript-indent] | Javascript indent script
|
||||||
[tern] | Provides Tern-based JavaScript editing support
|
[tern] | Provides Tern-based JavaScript editing support
|
||||||
[php] | Up-to-date PHP syntax file
|
[php] | Up-to-date PHP syntax file
|
||||||
|
[phpcd] | PHP Completion Daemon for Vim/NeoVim
|
||||||
[phpfold] | PHP folding
|
[phpfold] | PHP folding
|
||||||
[phpcomplete] | Improved PHP omnicompletion
|
|
||||||
[phpindent] | PHP official indenting
|
[phpindent] | PHP official indenting
|
||||||
[phpspec] | PhpSpec integration
|
[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
|
[javascript-indent]: https://github.com/jiangmiao/simple-javascript-indenter
|
||||||
[tern]: https://github.com/marijnh/tern_for_vim
|
[tern]: https://github.com/marijnh/tern_for_vim
|
||||||
[php]: https://github.com/StanAngeloff/php.vim
|
[php]: https://github.com/StanAngeloff/php.vim
|
||||||
[phpfold]: https://github.com/rayburgemeestre/phpfolding.vim
|
[phpfold]: https://github.com/lvht/phpfold.vim
|
||||||
[phpcomplete]: https://github.com/shawncplus/phpcomplete.vim
|
[phpcd]: https://github.com/lvht/phpcd.vim
|
||||||
[phpindent]: https://github.com/2072/PHP-Indenting-for-VIm
|
[phpindent]: https://github.com/2072/PHP-Indenting-for-VIm
|
||||||
[phpspec]: https://github.com/rafi/vim-phpspec
|
[phpspec]: https://github.com/rafi/vim-phpspec
|
||||||
[vimfiler]: https://github.com/Shougo/vimfiler.vim
|
[vimfiler]: https://github.com/Shougo/vimfiler.vim
|
||||||
|
@ -18,6 +18,10 @@
|
|||||||
function! SpaceVim#layers#lang#php#plugins() abort
|
function! SpaceVim#layers#lang#php#plugins() abort
|
||||||
let plugins = []
|
let plugins = []
|
||||||
call add(plugins, ['php-vim/phpcd.vim', { 'on_ft' : 'php'}])
|
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
|
return plugins
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user