diff --git a/README.md b/README.md index 61b44e7..0cbb5a6 100644 --- a/README.md +++ b/README.md @@ -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", + }, } ```