docs: add config
This commit is contained in:
parent
bcb8f09311
commit
8a87c5507f
1 changed files with 19 additions and 0 deletions
19
README.md
19
README.md
|
|
@ -20,6 +20,25 @@ use {
|
||||||
|
|
||||||
Also, run `TSInstall go` if install the `go` parser if not installed yet.
|
Also, run `TSInstall go` if install the `go` parser if not installed yet.
|
||||||
|
|
||||||
|
## Config
|
||||||
|
|
||||||
|
By `.setup` function you can configure the plugin.
|
||||||
|
|
||||||
|
Note:
|
||||||
|
|
||||||
|
- Installer does not install the tool in user set path
|
||||||
|
|
||||||
|
```lua
|
||||||
|
require("gopher").setup {
|
||||||
|
commands = {
|
||||||
|
go = "go",
|
||||||
|
gomodifytags = "gomodifytags",
|
||||||
|
gotests = "~/go/bin/gotests", -- also you can set custom command path
|
||||||
|
impl = "impl",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
1. Install requires go tools:
|
1. Install requires go tools:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue