From 12410943854034752ecc7ee2db2e75532721fe9d Mon Sep 17 00:00:00 2001 From: Smirnov Oleksandr Date: Fri, 15 Mar 2024 23:13:59 +0200 Subject: [PATCH] some readme updating --- README.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) 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", + }, } ```