mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-12 17:55:41 +08:00
Add lang#xml layer
This commit is contained in:
parent
bb3952f3e7
commit
685ed4af58
@ -44,6 +44,9 @@ function! SpaceVim#default#SetOptions() abort
|
||||
set softtabstop=4
|
||||
set shiftwidth=4
|
||||
|
||||
" autoread
|
||||
set autoread
|
||||
|
||||
" backup
|
||||
set backup
|
||||
set undofile
|
||||
|
@ -1,5 +1,5 @@
|
||||
""
|
||||
" @section Layer_lang_c
|
||||
" @section lang#c, layer-lang-c
|
||||
" @parentsection layers
|
||||
" this layer provide c family language code completion and syntax chaeck.you
|
||||
" need install clang.
|
||||
|
@ -1,5 +1,5 @@
|
||||
""
|
||||
" @section Layer_lang_java, layer_lang_java
|
||||
" @section lang#java, layer-lang-java
|
||||
" @parentsection layers
|
||||
" This layer is for java development.
|
||||
" >
|
||||
|
@ -1,5 +1,5 @@
|
||||
""
|
||||
" @section Layer_lang_php
|
||||
" @section lang#php, layer-lang-php
|
||||
" @parentsection layers
|
||||
" this layer is for php development, and it provide auto codo completion,
|
||||
" and syntax check, and jump to the definition location.
|
||||
|
13
autoload/SpaceVim/layers/lang/xml.vim
Normal file
13
autoload/SpaceVim/layers/lang/xml.vim
Normal 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
|
@ -9,10 +9,11 @@ CONTENTS *SpaceVim-contents*
|
||||
4. Layers..................................................|SpaceVim-layers|
|
||||
1. Autocomplete..................................|SpaceVim-autocomplete|
|
||||
2. Colorscheme....................................|SpaceVim-colorscheme|
|
||||
3. Layer_lang_c..................................|SpaceVim-layer_lang_c|
|
||||
4. Layer_lang_java............................|SpaceVim-layer_lang_java|
|
||||
5. Layer_lang_php..............................|SpaceVim-layer_lang_php|
|
||||
6. layer-lang-rust............................|SpaceVim-layer-lang-rust|
|
||||
3. lang#c........................................|SpaceVim-layer-lang-c|
|
||||
4. lang#java..................................|SpaceVim-layer-lang-java|
|
||||
5. lang#php....................................|SpaceVim-layer-lang-php|
|
||||
6. lang#xml....................................|SpaceVim-layer-lang-xml|
|
||||
7. layer-lang-rust............................|SpaceVim-layer-lang-rust|
|
||||
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
|
||||
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.
|
||||
>
|
||||
@ -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
|
||||
syntax check, and jump to the definition location.
|
||||
@ -471,6 +472,11 @@ requirement:
|
||||
Composer Project
|
||||
<
|
||||
|
||||
==============================================================================
|
||||
LANG#XML *SpaceVim-layer-lang-xml*
|
||||
|
||||
when edite an xml file, the omni func is
|
||||
|
||||
==============================================================================
|
||||
LAYER-LANG-RUST *SpaceVim-layer-lang-rust*
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user