some readme updating
This commit is contained in:
parent
677219b10a
commit
1241094385
1 changed files with 15 additions and 4 deletions
17
README.md
17
README.md
|
|
@ -37,19 +37,30 @@ Pre-dependency:
|
|||
>
|
||||
> If you need more info look `:h gopher.nvim`
|
||||
|
||||
**Take a look at default options**
|
||||
|
||||
```lua
|
||||
require("gopher").setup {
|
||||
commands = {
|
||||
go = "go",
|
||||
gomodifytags = "gomodifytags",
|
||||
gotests = "~/go/bin/gotests", -- also you can set custom command path
|
||||
gotests = "gotests",
|
||||
impl = "impl",
|
||||
iferr = "iferr",
|
||||
dlv = "dlv",
|
||||
},
|
||||
gotests = {
|
||||
-- gotests doesn't have template named "default" so this plugin uses "default" to set the default template
|
||||
template = "default",
|
||||
-- path to a directory containing custom test code templates
|
||||
template_dir = nil,
|
||||
-- switch table tests from using slice to map (with test name for the key)
|
||||
-- works only with gotests installed from develop branch
|
||||
named = false,
|
||||
},
|
||||
gotag = {
|
||||
transform = "pascalcase"
|
||||
}
|
||||
transform = "snakecase",
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue