mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-14 23:49:19 +08:00
Update the doc of lang#pascal layer
This commit is contained in:
parent
5ad7118182
commit
2d9a05299d
@ -11,13 +11,14 @@ lang: zh
|
|||||||
- [模块简介](#模块简介)
|
- [模块简介](#模块简介)
|
||||||
- [启用模块](#启用模块)
|
- [启用模块](#启用模块)
|
||||||
- [快捷键](#快捷键)
|
- [快捷键](#快捷键)
|
||||||
- [运行当前脚本](#运行当前脚本)
|
|
||||||
|
|
||||||
<!-- vim-markdown-toc -->
|
<!-- vim-markdown-toc -->
|
||||||
|
|
||||||
## 模块简介
|
## 模块简介
|
||||||
|
|
||||||
这一模块为在 SpaceVim 中进行 pascal 开发提供了支持。
|
这一模块为在 SpaceVim 中进行 pascal 开发提供了支持。默认使用
|
||||||
|
[free pascal](https://www.freepascal.org/) 作为编译器,在使用
|
||||||
|
这一模块之前,需要下载并安装编译器。
|
||||||
|
|
||||||
## 启用模块
|
## 启用模块
|
||||||
|
|
||||||
@ -30,6 +31,4 @@ lang: zh
|
|||||||
|
|
||||||
## 快捷键
|
## 快捷键
|
||||||
|
|
||||||
### 运行当前脚本
|
|
||||||
|
|
||||||
在编辑 pascal 文件时,可通过快捷键 `SPC l r` 快速异步运行当前文件,运行结果会展示在一个独立的执行窗口内。
|
在编辑 pascal 文件时,可通过快捷键 `SPC l r` 快速异步运行当前文件,运行结果会展示在一个独立的执行窗口内。
|
||||||
|
@ -9,14 +9,15 @@ description: "This layer is for pascal development, provides syntax highlighting
|
|||||||
|
|
||||||
- [Description](#description)
|
- [Description](#description)
|
||||||
- [Install](#install)
|
- [Install](#install)
|
||||||
- [Features](#features)
|
|
||||||
- [Key bindings](#key-bindings)
|
- [Key bindings](#key-bindings)
|
||||||
|
|
||||||
<!-- vim-markdown-toc -->
|
<!-- vim-markdown-toc -->
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
This layer is for pascal development.
|
This layer is for pascal development. And the default compiler
|
||||||
|
is [free pascal](https://www.freepascal.org/), You need to download
|
||||||
|
the compiler before using this layer.
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
@ -26,10 +27,8 @@ To use this configuration layer, update custom configuration file with:
|
|||||||
[[layers]]
|
[[layers]]
|
||||||
name = "lang#pascal"
|
name = "lang#pascal"
|
||||||
```
|
```
|
||||||
## Features
|
|
||||||
|
|
||||||
- code runner
|
|
||||||
|
|
||||||
## Key bindings
|
## 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.
|
Make sure you have `fpc` in your PATH. The key binding `SPC l r` will run
|
||||||
|
`fpc` command asynchronously. and the result will be shown in a runner buffer.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user