mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 10:50:07 +08:00
Update go doc
This commit is contained in:
parent
d427c3f065
commit
c14d85ca5d
@ -9,6 +9,7 @@ description: "This layer is for golang development. It also provides additional
|
||||
|
||||
- [Description](#description)
|
||||
- [Install](#install)
|
||||
- [Features](#features)
|
||||
- [Key bindings](#key-bindings)
|
||||
|
||||
<!-- vim-markdown-toc -->
|
||||
@ -19,14 +20,21 @@ This layer is for golang development. It also provides additional language-speci
|
||||
|
||||
## 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
|
||||
|
||||
**Import key bindings:**
|
||||
|
||||
| Key Binding | Description |
|
||||
| ----------- | ---------------------------------------- |
|
||||
| ----------- | --------------- |
|
||||
| SPC l i | go implements |
|
||||
| SPC l f | go info |
|
||||
| SPC l e | go rename |
|
||||
|
@ -8,7 +8,7 @@ description: "This layer is for JaveScript development"
|
||||
<!-- vim-markdown-toc GFM -->
|
||||
|
||||
- [Description](#description)
|
||||
- [Layer Installation](#layer-installation)
|
||||
- [Install](#install)
|
||||
- [Features](#features)
|
||||
- [Layer configuration](#layer-configuration)
|
||||
|
||||
@ -18,7 +18,7 @@ description: "This layer is for JaveScript 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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user