1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-12 17:55:41 +08:00

Add basic doc for toml lang xml layer

close #3601
This commit is contained in:
Shidong Wang 2020-07-11 22:14:10 +08:00
parent 845998f24d
commit d0ca817f25
6 changed files with 114 additions and 0 deletions

View File

@ -155,12 +155,14 @@ Vim 插件以及相关配置。而 SpaceVim 是以模块的方式来组织和管
| [lang#slim](lang/slim/) | 这一模块为 slim 开发提供支持,主要包括了语法高亮。 |
| [lang#swift](lang/swift/) | 这一模块为 SpaceVim 提供了 Swift 的开发支持,包括语法高亮、语法检查等特性。 |
| [lang#tcl](lang/tcl/) | 这一模块为 Tcl 开发提供支持,包括交互式编程、一键运行等特性。 |
| [lang#toml](lang/toml/) | 这一模块为 toml 开发提供支持,主要包括语法高亮、对齐等特性 |
| [lang#typescript](lang/typescript/) | 这一模块为 SpaceVim 提供了 TypeScript 的开发支持,包括代码补全、语法检查、代码格式化等特性。 |
| [lang#v](lang/v/) | 这一模块为 v 开发提供支持,包括交互式编程、一键运行等特性。 |
| [lang#vbnet](lang/vbnet/) | 这一模块为 Visual Basic .NET 开发提供支持,包括交互式编程、一键运行等特性。 |
| [lang#vim](lang/vim/) | 这一模块为 SpaceVim 提供了 Vimscript 的开发支持,包括代码补全、语法检查、代码格式化等特性。 |
| [lang#vue](lang/vue/) | 这一模块为 SpaceVim 提供了 Vue 的的开发支持,包括代码补全、语法检查、代码格式化等特性。 |
| [lang#wolfram](lang/wolfram/) | 这一模块为 wolfram 开发提供支持,包括交互式编程、一键运行等特性。 |
| [lang#xml](lang/xml/) | 这一模块为 xml 开发提供支持,主要包括语法高亮、对齐等特性 |
| [lang#zig](lang/zig/) | 这一模块为 zig 开发提供支持,包括交互式编程、一键运行等特性。 |
| [language-server-protocol](language-server-protocol/) | 这一模块为 SpaceVim 提供了 language server protocol 的支持,提供更多语言相关服务。 |
| [leaderf](leaderf/) | 这一模块为 SpaceVim 提供了以 leaderf 为核心的异步模糊查找机制,支持模糊搜索文件、历史记录、函数列表等。 |

View File

@ -0,0 +1,28 @@
---
title: "SpaceVim lang#toml 模块"
description: "这一模块为 toml 开发提供支持,主要包括语法高亮、对齐等特性"
lang: zh
---
# [可用模块](../../) >> lang#toml
<!-- vim-markdown-toc GFM -->
- [模块简介](#模块简介)
- [启用模块](#启用模块)
<!-- vim-markdown-toc -->
## 模块简介
这一模块为在 SpaceVim 中进行 toml 开发提供了支持。
## 启用模块
可通过在配置文件内加入如下配置来启用该模块:
```toml
[[layers]]
name = "lang#toml"
```

View File

@ -0,0 +1,29 @@
---
title: "SpaceVim lang#xml 模块"
description: "这一模块为 xml 开发提供支持,主要包括语法高亮、对齐等特性"
lang: zh
---
# [可用模块](../../) >> lang#xml
<!-- vim-markdown-toc GFM -->
- [模块简介](#模块简介)
- [启用模块](#启用模块)
<!-- vim-markdown-toc -->
## 模块简介
这一模块为在 SpaceVim 中进行 xml 开发提供了支持。
## 启用模块
可通过在配置文件内加入如下配置来启用该模块:
```toml
[[layers]]
name = "lang#xml"
```

View File

@ -165,12 +165,14 @@ Some layers are enabled by default. The following example shows how to disable `
| [lang#slim](lang/slim/) | This layer is for slim development, includes syntax highlighting for slim file. |
| [lang#swift](lang/swift/) | swift language support for SpaceVim, includes code completion, syntax highlighting |
| [lang#tcl](lang/tcl/) | This layer is for Tcl development, provide syntax checking, code runner and repl support for tcl file. |
| [lang#toml](lang/toml/) | This layer is for toml development, provide syntax checking, indent etc. |
| [lang#typescript](lang/typescript/) | This layer is for TypeScript development, includding code completion, Syntax lint, and doc generation. |
| [lang#v](lang/v/) | This layer is for v development, provide syntax checking, code runner and repl support for v file. |
| [lang#vbnet](lang/vbnet/) | This layer is for Visual Basic .NET development, provide code runner vb file. |
| [lang#vim](lang/vim/) | This layer is for writting Vimscript, including code completion, syntax checking and buffer formatting |
| [lang#vue](lang/vue/) | This layer adds Vue language support to SpaceVim |
| [lang#wolfram](lang/wolfram/) | This layer is for walfram development, provide syntax checking, code runner and repl support for walfram file. |
| [lang#xml](lang/xml/) | This layer is for xml development, provide syntax checking, indent etc. |
| [lang#zig](lang/zig/) | This layer is for zig development, provide code runner support for zig file. |
| [language-server-protocol](language-server-protocol/) | This layers provides language server protocol for vim and neovim |
| [leaderf](leaderf/) | This layers provide a heavily customized LeaderF centric work-flow |

26
docs/layers/lang/toml.md Normal file
View File

@ -0,0 +1,26 @@
---
title: "SpaceVim lang#toml layer"
description: "This layer is for toml development, provide syntax checking, indent etc."
---
# [Available Layers](../../) >> lang#toml
<!-- vim-markdown-toc GFM -->
- [Description](#description)
- [Install](#install)
<!-- vim-markdown-toc -->
## Description
This layer is for toml development.
## Install
To use this configuration layer, update custom configuration file with:
```toml
[[layers]]
name = "lang#toml"
```

27
docs/layers/lang/xml.md Normal file
View File

@ -0,0 +1,27 @@
---
title: "SpaceVim lang#xml layer"
description: "This layer is for xml development, provide syntax checking, indent etc."
---
# [Available Layers](../../) >> lang#xml
<!-- vim-markdown-toc GFM -->
- [Description](#description)
- [Install](#install)
<!-- vim-markdown-toc -->
## Description
This layer is for xml development.
## Install
To use this configuration layer, update custom configuration file with:
```toml
[[layers]]
name = "lang#xml"
```