1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-14 15:19:12 +08:00

Add lang#vue layer (#2143)

This commit is contained in:
Wang Shidong 2018-09-07 19:52:15 +08:00 committed by GitHub
parent 2bae381129
commit 616b50ec62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 80 additions and 0 deletions

View File

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

View File

@ -101,6 +101,7 @@ Vim 插件以及相关配置。而 SpaceVim 是以模块的方式来组织和管
| [lang#sh](lang/sh/) | 这一模块为 shell script 开发提供支持,包括代码补全、语法检查、代码格式化等特性。 |
| [lang#typescript](lang/typescript/) | 这一模块为 typescript 开发提供支持,包括代码补全、语法检查、代码格式化等特性。 |
| [lang#vim](lang/vim/) | 这一模块为 vim script 开发提供支持,包括代码补全、语法检查、代码格式化等特性。 |
| [lang#vue](lang/vue/) | 这一模块为 vue 开发提供支持,包括代码补全、语法检查、代码格式化等特性。 |
| [language-server-protocol](language-server-protocol/) | lsp 模块为 SpaceVim 提供 language server protocol 的支持,提供更多语言相关服务 |
| [leaderf](leaderf/) | 提供以 leaderf 为核心的异步模糊查找机制,支持模糊搜索文件、历史纪录、函数列表等。 |
| [shell](shell/) | 这一模块为 SpaceVim 提供了终端集成特性,优化内置终端的使用体验 |

View File

@ -0,0 +1,32 @@
---
title: "SpaceVim lang#vue 模块"
description: "这一模块为 vue 开发提供支持,包括代码补全、语法检查、代码格式化等特性。"
lang: cn
---
# [可用模块](../../) >> lang#perl
<!-- vim-markdown-toc GFM -->
- [模块简介](#模块简介)
- [功能特性](#功能特性)
- [启用模块](#启用模块)
<!-- vim-markdown-toc -->
## 模块简介
这一模块为 SpaceVim 提供了 vue 开发支持。该模块包含了插件 [vim-vue](https://github.com/posva/vim-vue)。
## 功能特性
- 语法高亮
## 启用模块
可通过在配置文件内加入如下配置来启用该模块:
```toml
[[layers]]
name = "lang#vue"
```

View File

@ -104,6 +104,7 @@ enable = false
| [lang#swift](lang/swift/) | swift language support for SpaceVim, includes code completion, syntax highlighting |
| [lang#typescript](lang/typescript/) | This layer is for TypeScript development |
| [lang#vim](lang/vim/) | This layer is for writting vim script, including code completion, syntax checking and buffer formatting |
| [lang#vue](lang/vue/) | This layer adds vue language support to SpaceVim |
| [lsp](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 |
| [shell](shell/) | This layer provide shell support in SpaceVim |

31
docs/layers/lang/vue.md Normal file
View File

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

View File

@ -29,6 +29,7 @@ The next release is v0.9.0.
- Add `lang#fsharp` layer ([#2081](https://github.com/SpaceVim/SpaceVim/pull/2081))
- Add `lang#plantuml` layer ([#2085](https://github.com/SpaceVim/SpaceVim/pull/2085))
- Add `lang#elm` layer, improve REPL highlight ([#2088](https://github.com/SpaceVim/SpaceVim/pull/2088))
- Add `lang#vue` layer ([#2143](https://github.com/SpaceVim/SpaceVim/pull/2143))
- Add `lang#latex` and `lang#extra` layer ([#2133](https://github.com/SpaceVim/SpaceVim/pull/2133))
### Improvement