mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 10:00:04 +08:00
Update php layer doc
This commit is contained in:
parent
35673384ab
commit
aeb61f74c9
@ -2,7 +2,7 @@
|
|||||||
" @section Introduction, intro
|
" @section Introduction, intro
|
||||||
" @stylized Maktaba
|
" @stylized Maktaba
|
||||||
" @library
|
" @library
|
||||||
" @order intro version dicts functions exceptions layers
|
" @order intro version dicts functions exceptions layers layer-lang-php
|
||||||
" SpaceVim is a Modular configuration, a bundle of custom settings
|
" SpaceVim is a Modular configuration, a bundle of custom settings
|
||||||
" and plugins, for Vim. It got inspired by spacemacs.
|
" and plugins, for Vim. It got inspired by spacemacs.
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ function! SpaceVim#autocmds#init() abort
|
|||||||
autocmd FileType python setlocal omnifunc=pythoncomplete#Complete
|
autocmd FileType python setlocal omnifunc=pythoncomplete#Complete
|
||||||
autocmd FileType php setlocal omnifunc=phpcomplete_extended#CompletePHP
|
autocmd FileType php setlocal omnifunc=phpcomplete_extended#CompletePHP
|
||||||
autocmd BufEnter *
|
autocmd BufEnter *
|
||||||
\ if empty(&buftype)&&has('nvim')
|
\ if empty(&buftype) && has('nvim') && &filetype != 'help'
|
||||||
\| nnoremap <silent><buffer> <C-]> :call MyTagfunc()<CR>
|
\| nnoremap <silent><buffer> <C-]> :call MyTagfunc()<CR>
|
||||||
\| nnoremap <silent><buffer> <C-[> :call MyTagfuncBack()<CR>
|
\| nnoremap <silent><buffer> <C-[> :call MyTagfuncBack()<CR>
|
||||||
\| else
|
\| else
|
||||||
|
@ -1,11 +1,18 @@
|
|||||||
|
""
|
||||||
|
" @section Layer-lang-php
|
||||||
" lang#php :
|
" lang#php :
|
||||||
" this layer is for php development, and it provide auto codo completion,
|
"
|
||||||
" and syntax check, and jump to the definition location.
|
" this layer is for php development, and it provide auto codo completion,
|
||||||
|
" and syntax check, and jump to the definition location.
|
||||||
"
|
"
|
||||||
" requirement:
|
" requirement:
|
||||||
|
"
|
||||||
" PHP 5.3+
|
" PHP 5.3+
|
||||||
|
"
|
||||||
" PCNTL Extension
|
" PCNTL Extension
|
||||||
|
"
|
||||||
" Msgpack 0.5.7+(for NeoVim) Extension or JSON(for Vim 7.4+) Extension
|
" Msgpack 0.5.7+(for NeoVim) Extension or JSON(for Vim 7.4+) Extension
|
||||||
|
"
|
||||||
" Composer Project
|
" Composer Project
|
||||||
"
|
"
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@ CONTENTS *SpaceVim-contents*
|
|||||||
2. Configuration...........................................|SpaceVim-config|
|
2. Configuration...........................................|SpaceVim-config|
|
||||||
3. Functions............................................|SpaceVim-functions|
|
3. Functions............................................|SpaceVim-functions|
|
||||||
4. Layers..................................................|SpaceVim-layers|
|
4. Layers..................................................|SpaceVim-layers|
|
||||||
|
5. Layer-lang-php..................................|SpaceVim-layer-lang-php|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
INTRODUCTION *SpaceVim-intro*
|
INTRODUCTION *SpaceVim-intro*
|
||||||
@ -219,5 +220,24 @@ LAYERS *SpaceVim-layers*
|
|||||||
|
|
||||||
SpaceVim support such layers:
|
SpaceVim support such layers:
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
LAYER-LANG-PHP *SpaceVim-layer-lang-php*
|
||||||
|
|
||||||
|
lang#php :
|
||||||
|
|
||||||
|
this layer is for php development, and it provide auto codo completion, and
|
||||||
|
syntax check, and jump to the definition location.
|
||||||
|
|
||||||
|
requirement:
|
||||||
|
|
||||||
|
PHP 5.3+
|
||||||
|
|
||||||
|
PCNTL Extension
|
||||||
|
|
||||||
|
Msgpack 0.5.7+(for NeoVim) Extension or JSON(for Vim 7.4+) Extension
|
||||||
|
|
||||||
|
Composer Project
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:ft=help:norl:
|
||||||
|
Loading…
Reference in New Issue
Block a user