mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 07:00:04 +08:00
Update doc (#3306)
* Add doc for lang#pascal layer * Add doc for lang#slim layer
This commit is contained in:
parent
e9403f914d
commit
062010cc03
35
docs/cn/layers/lang/pascal.md
Normal file
35
docs/cn/layers/lang/pascal.md
Normal file
@ -0,0 +1,35 @@
|
||||
---
|
||||
title: "SpaceVim lang#pascal 模块"
|
||||
description: "这一模块为 pascal 开发提供支持,包括一键运行等特性。"
|
||||
lang: zh
|
||||
---
|
||||
|
||||
# [可用模块](../../) >> lang#pascal
|
||||
|
||||
<!-- vim-markdown-toc GFM -->
|
||||
|
||||
- [模块简介](#模块简介)
|
||||
- [启用模块](#启用模块)
|
||||
- [快捷键](#快捷键)
|
||||
- [运行当前脚本](#运行当前脚本)
|
||||
|
||||
<!-- vim-markdown-toc -->
|
||||
|
||||
## 模块简介
|
||||
|
||||
这一模块为在 SpaceVim 中进行 pascal 开发提供了支持。
|
||||
|
||||
## 启用模块
|
||||
|
||||
可通过在配置文件内加入如下配置来启用该模块:
|
||||
|
||||
```toml
|
||||
[[layers]]
|
||||
name = "lang#pascal"
|
||||
```
|
||||
|
||||
## 快捷键
|
||||
|
||||
### 运行当前脚本
|
||||
|
||||
在编辑 pascal 文件时,可通过快捷键 `SPC l r` 快速异步运行当前文件,运行结果会展示在一个独立的执行窗口内。
|
27
docs/cn/layers/lang/slim.md
Normal file
27
docs/cn/layers/lang/slim.md
Normal file
@ -0,0 +1,27 @@
|
||||
---
|
||||
title: "SpaceVim lang#slim 模块"
|
||||
description: "这一模块为 slim 开发提供支持,主要包括了语法高亮。"
|
||||
lang: zh
|
||||
---
|
||||
|
||||
# [可用模块](../../) >> lang#slim
|
||||
|
||||
<!-- vim-markdown-toc GFM -->
|
||||
|
||||
- [模块简介](#模块简介)
|
||||
- [启用模块](#启用模块)
|
||||
|
||||
<!-- vim-markdown-toc -->
|
||||
|
||||
## 模块简介
|
||||
|
||||
这一模块为 SpaceVim 提供了 [Slim](http://slim-lang.com/) 语言的语法高亮支持。。
|
||||
|
||||
## 启用模块
|
||||
|
||||
可通过在配置文件内加入如下配置来启用该模块:
|
||||
|
||||
```toml
|
||||
[[layers]]
|
||||
name = "lang#slim"
|
||||
```
|
35
docs/layers/lang/pascal.md
Normal file
35
docs/layers/lang/pascal.md
Normal file
@ -0,0 +1,35 @@
|
||||
---
|
||||
title: "SpaceVim lang#pascal layer"
|
||||
description: "This layer is for pascal development, provides syntax highlighting, code runner for pascal file."
|
||||
---
|
||||
|
||||
# [Available Layers](../../) >> lang#pascal
|
||||
|
||||
<!-- vim-markdown-toc GFM -->
|
||||
|
||||
- [Description](#description)
|
||||
- [Install](#install)
|
||||
- [Features](#features)
|
||||
- [Key bindings](#key-bindings)
|
||||
|
||||
<!-- vim-markdown-toc -->
|
||||
|
||||
## Description
|
||||
|
||||
This layer is for pascal development.
|
||||
|
||||
## Install
|
||||
|
||||
To use this configuration layer, update custom configuration file with:
|
||||
|
||||
```toml
|
||||
[[layers]]
|
||||
name = "lang#pascal"
|
||||
```
|
||||
## Features
|
||||
|
||||
- code runner
|
||||
|
||||
## Key bindings
|
||||
|
||||
To running a pascal file, you can press `SPC l r` to run current file without loss focus, and the result will be shown in a runner buffer.
|
26
docs/layers/lang/slim.md
Normal file
26
docs/layers/lang/slim.md
Normal file
@ -0,0 +1,26 @@
|
||||
---
|
||||
title: "SpaceVim lang#slim layer"
|
||||
description: "This layer is for slim development, includes syntax highlighting for slim file."
|
||||
---
|
||||
|
||||
# [Available Layers](../../) >> lang#slim
|
||||
|
||||
<!-- vim-markdown-toc GFM -->
|
||||
|
||||
- [Description](#description)
|
||||
- [Install](#install)
|
||||
|
||||
<!-- vim-markdown-toc -->
|
||||
|
||||
## Description
|
||||
|
||||
This layer provides syntax highlighting for [Slim Template Language](http://slim-lang.com/).
|
||||
|
||||
## Install
|
||||
|
||||
To use this configuration layer, update custom configuration file with:
|
||||
|
||||
```toml
|
||||
[[layers]]
|
||||
name = "lang#slim"
|
||||
```
|
Loading…
Reference in New Issue
Block a user