1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 20:10:05 +08:00

Add lang#assembly layer (#2979)

* Add lang#assembly layer

* Add doc

* Update doc
This commit is contained in:
Wang Shidong 2019-07-31 21:35:57 +08:00 committed by GitHub
parent 8bb3e14426
commit ec7d944fcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 78 additions and 0 deletions

View File

@ -0,0 +1,13 @@
"=============================================================================
" assembly.vim --- lang#assembly layer
" Copyright (c) 2016-2019 Wang Shidong & Contributors
" Author: Wang Shidong < wsdjeg@outlook.com >
" URL: https://spacevim.org
" License: GPLv3
"=============================================================================
function! SpaceVim#layers#lang#assembly#plugins() abort
let plugins = []
call add(plugins, ['wsdjeg/vim-assembly', { 'merged' : 0}])
return plugins
endfunction

View File

@ -85,6 +85,7 @@ Vim 插件以及相关配置。而 SpaceVim 是以模块的方式来组织和管
| [lang#WebAssembly](lang/WebAssembly/) | 这一模块为 SpaceVim 提供了 WebAssembly 的开发支持。 |
| [lang#agda](lang/agda/) | 这一模块为 SpaceVim 提供了 Agda 的开发支持,主要包括语法高亮及一键运行。 |
| [lang#asciidoc](lang/asciidoc/) | 这一模块为 SpaceVim 提供了 AsciiDoc 的编辑支持,包括格式化、自动生成文章目录、代码块等特性。 |
| [lang#assembly](lang/assembly/) | 该模块为 SpaceVim 提供了 Assembly 语言开发支持,包括语法高亮。 |
| [lang#autohotkey](lang/autohotkey/) | 这一模块为 SpaceVim 提供了 Autohotkey 的开发支持,包括语法高亮和自动补全等功能。 |
| [lang#c](lang/c/) | 这一模块为 SpaceVim 提供了 C/C++/Object-C 的开发支持,包括代码补全、语法检查等特性。 |
| [lang#clojure](lang/clojure/) | 这一模块为 SpaceVim 提供了 Clojure 的开发支持,包括代码补全、语法检查、代码格式化等特性。 |

View File

@ -0,0 +1,32 @@
---
title: "SpaceVim lang#assembly 模块"
description: "该模块为 SpaceVim 提供了 Assembly 语言开发支持,包括语法高亮。"
lang: cn
---
# [可用模块](../../) >> lang#assembly
<!-- vim-markdown-toc GFM -->
- [模块简介](#模块简介)
- [功能特性](#功能特性)
- [启用模块](#启用模块)
<!-- vim-markdown-toc -->
## 模块简介
该模块为 SpaceVim 提供了 Assembly 语言开发支持。
## 功能特性
- 语法高亮
## 启用模块
可通过在配置文件内加入如下配置来启用该模块:
```toml
[[layers]]
name = "lang#assembly"
```

View File

@ -91,6 +91,7 @@ Some layers are enabled by default. The following example shows how to disable `
| [lang#WebAssembly](lang/WebAssembly/) | This layer adds WebAssembly support to SpaceVim |
| [lang#agda](lang/agda/) | This layer adds Agda language support to SpaceVim. |
| [lang#asciidoc](lang/asciidoc/) | Edit AsciiDoc within vim, autopreview AsciiDoc in the default browser, with this layer you can also format AsciiDoc file. |
| [lang#assembly](lang/assembly/) | This layer adds Assembly language support to SpaceVim, including syntax highlighting. |
| [lang#autohotkey](lang/autohotkey/) | This layer adds AutohotKey language support to SpaceVim. |
| [lang#c](lang/c/) | C/C++/Object-C language support for SpaceVim, include code completion, jump to definition, quick runner. |
| [lang#clojure](lang/clojure/) | This layer is for Clojure development, provide autocompletion, syntax checking, code format for Clojure file. |

View File

@ -0,0 +1,31 @@
---
title: "SpaceVim lang#assembly layer"
description: "This layer adds Assembly language support to SpaceVim, including syntax highlighting."
---
# [Available Layers](../../) >> lang#assembly
<!-- vim-markdown-toc GFM -->
- [Description](#description)
- [Features](#features)
- [Install](#install)
<!-- vim-markdown-toc -->
## Description
This layer adds Assembly language support to SpaceVim.
## Features
- syntax highlighting
## Install
To use this configuration layer, update custom configuration file with:
```toml
[[layers]]
name = "lang#assembly"
```