mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-25 07:30:04 +08:00
41 lines
837 B
Markdown
41 lines
837 B
Markdown
|
---
|
||
|
title: "SpaceVim lang#swift 模块"
|
||
|
description: "该模块主要为 SpaceVim 提供了 swift 开发支持,包括语法高亮、语法检查等特性。"
|
||
|
lang: cn
|
||
|
---
|
||
|
|
||
|
# [可用模块](../../) >> lang#swift
|
||
|
|
||
|
<!-- vim-markdown-toc GFM -->
|
||
|
|
||
|
- [模块简介](#模块简介)
|
||
|
- [功能特性](#功能特性)
|
||
|
- [启用模块](#启用模块)
|
||
|
- [快捷键](#快捷键)
|
||
|
|
||
|
<!-- vim-markdown-toc -->
|
||
|
|
||
|
## 模块简介
|
||
|
|
||
|
该模块主要为 SpaceVim 提供了 swift 开发支持。
|
||
|
|
||
|
## 功能特性
|
||
|
|
||
|
- 语法高亮
|
||
|
- 语法检查
|
||
|
|
||
|
## 启用模块
|
||
|
|
||
|
可通过在配置文件内加入如下配置来启用该模块:
|
||
|
|
||
|
```toml
|
||
|
[[layers]]
|
||
|
name = "lang#swift"
|
||
|
```
|
||
|
|
||
|
## 快捷键
|
||
|
|
||
|
| 按键 | 功能描述 |
|
||
|
| ----------- | ----------------------- |
|
||
|
| `SPC l k` | jumping to placeholders |
|