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

Add lang#xml layer

This commit is contained in:
wsdjeg 2017-01-31 19:05:59 +08:00
parent bb3952f3e7
commit 685ed4af58
6 changed files with 32 additions and 10 deletions

View File

@ -44,6 +44,9 @@ function! SpaceVim#default#SetOptions() abort
set softtabstop=4 set softtabstop=4
set shiftwidth=4 set shiftwidth=4
" autoread
set autoread
" backup " backup
set backup set backup
set undofile set undofile

View File

@ -1,5 +1,5 @@
"" ""
" @section Layer_lang_c " @section lang#c, layer-lang-c
" @parentsection layers " @parentsection layers
" this layer provide c family language code completion and syntax chaeck.you " this layer provide c family language code completion and syntax chaeck.you
" need install clang. " need install clang.

View File

@ -1,5 +1,5 @@
"" ""
" @section Layer_lang_java, layer_lang_java " @section lang#java, layer-lang-java
" @parentsection layers " @parentsection layers
" This layer is for java development. " This layer is for java development.
" > " >

View File

@ -1,5 +1,5 @@
"" ""
" @section Layer_lang_php " @section lang#php, layer-lang-php
" @parentsection layers " @parentsection layers
" this layer is for php development, and it provide auto codo completion, " this layer is for php development, and it provide auto codo completion,
" and syntax check, and jump to the definition location. " and syntax check, and jump to the definition location.

View File

@ -0,0 +1,13 @@
""
" @section lang#xml, layer-lang-xml
" @parentsection layers
" when edite an xml file, the omni func is
function! SpaceVim#layers#lang#xml#plugins() abort
return []
endfunction
function! SpaceVim#layers#lang#xml#config() abort
endfunction

View File

@ -9,10 +9,11 @@ CONTENTS *SpaceVim-contents*
4. Layers..................................................|SpaceVim-layers| 4. Layers..................................................|SpaceVim-layers|
1. Autocomplete..................................|SpaceVim-autocomplete| 1. Autocomplete..................................|SpaceVim-autocomplete|
2. Colorscheme....................................|SpaceVim-colorscheme| 2. Colorscheme....................................|SpaceVim-colorscheme|
3. Layer_lang_c..................................|SpaceVim-layer_lang_c| 3. lang#c........................................|SpaceVim-layer-lang-c|
4. Layer_lang_java............................|SpaceVim-layer_lang_java| 4. lang#java..................................|SpaceVim-layer-lang-java|
5. Layer_lang_php..............................|SpaceVim-layer_lang_php| 5. lang#php....................................|SpaceVim-layer-lang-php|
6. layer-lang-rust............................|SpaceVim-layer-lang-rust| 6. lang#xml....................................|SpaceVim-layer-lang-xml|
7. layer-lang-rust............................|SpaceVim-layer-lang-rust|
5. FAQ........................................................|SpaceVim-faq| 5. FAQ........................................................|SpaceVim-faq|
============================================================================== ==============================================================================
@ -384,7 +385,7 @@ colorschemes: if the colorscheme you want do not list below, PR welcome.
< <
============================================================================== ==============================================================================
LAYER_LANG_C *SpaceVim-layer_lang_c* LANG#C *SpaceVim-layer-lang-c*
this layer provide c family language code completion and syntax chaeck.you this layer provide c family language code completion and syntax chaeck.you
need install clang. need install clang.
@ -421,7 +422,7 @@ setting it to 0 disables this feature.
============================================================================== ==============================================================================
LAYER_LANG_JAVA *SpaceVim-layer_lang_java* LANG#JAVA *SpaceVim-layer-lang-java*
This layer is for java development. This layer is for java development.
> >
@ -458,7 +459,7 @@ This layer is for java development.
============================================================================== ==============================================================================
LAYER_LANG_PHP *SpaceVim-layer_lang_php* LANG#PHP *SpaceVim-layer-lang-php*
this layer is for php development, and it provide auto codo completion, and this layer is for php development, and it provide auto codo completion, and
syntax check, and jump to the definition location. syntax check, and jump to the definition location.
@ -471,6 +472,11 @@ requirement:
Composer Project Composer Project
< <
==============================================================================
LANG#XML *SpaceVim-layer-lang-xml*
when edite an xml file, the omni func is
============================================================================== ==============================================================================
LAYER-LANG-RUST *SpaceVim-layer-lang-rust* LAYER-LANG-RUST *SpaceVim-layer-lang-rust*