1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-09 13:50:06 +08:00

Update go doc

This commit is contained in:
wsdjeg 2018-01-03 22:56:15 +08:00
parent d427c3f065
commit c14d85ca5d
2 changed files with 22 additions and 14 deletions

View File

@ -9,6 +9,7 @@ description: "This layer is for golang development. It also provides additional
- [Description](#description) - [Description](#description)
- [Install](#install) - [Install](#install)
- [Features](#features)
- [Key bindings](#key-bindings) - [Key bindings](#key-bindings)
<!-- vim-markdown-toc --> <!-- vim-markdown-toc -->
@ -19,14 +20,21 @@ This layer is for golang development. It also provides additional language-speci
## Install ## Install
To use this configuration layer, add `SPLayer 'lang#go` to your custom configuration file. To use this configuration layer, add `call SpaceVim#layers#load('lang#go')` to your custom configuration file.
## Features
- auto-completion
- syntax checking
- goto definition
- refernce finder
## Key bindings ## Key bindings
**Import key bindings:** **Import key bindings:**
| Key Binding | Description | | Key Binding | Description |
| ----------- | ---------------------------------------- | | ----------- | --------------- |
| SPC l i | go implements | | SPC l i | go implements |
| SPC l f | go info | | SPC l f | go info |
| SPC l e | go rename | | SPC l e | go rename |

View File

@ -8,7 +8,7 @@ description: "This layer is for JaveScript development"
<!-- vim-markdown-toc GFM --> <!-- vim-markdown-toc GFM -->
- [Description](#description) - [Description](#description)
- [Layer Installation](#layer-installation) - [Install](#install)
- [Features](#features) - [Features](#features)
- [Layer configuration](#layer-configuration) - [Layer configuration](#layer-configuration)
@ -18,7 +18,7 @@ description: "This layer is for JaveScript development"
This layer is for JavaScript development. This layer is for JavaScript development.
## Layer Installation ## Install
To use this configuration layer, add `call SpaceVim#layers#load('lang#javascript')` to your custom configuration file. To use this configuration layer, add `call SpaceVim#layers#load('lang#javascript')` to your custom configuration file.