some readme updating

This commit is contained in:
Smirnov Oleksandr 2024-03-15 23:13:59 +02:00
parent 677219b10a
commit 1241094385

View file

@ -33,23 +33,34 @@ Pre-dependency:
## Configuratoin
>[!IMPORTANT]
> [!IMPORTANT]
>
> 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",
},
}
```