From a81e983741ccb47b70aa1884b037850c191c667d Mon Sep 17 00:00:00 2001 From: Fredrik Averpil Date: Sat, 6 Jul 2024 11:13:02 +0200 Subject: [PATCH] docs: sync with my neotest setup --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 250c7e24..c6b76135 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,6 @@ local config = { -- Specify configuration "-v", "-race", "-count=1", - "-timeout=60s", "-coverprofile=" .. vim.fn.getcwd() .. "/coverage.out", }, } @@ -179,8 +178,6 @@ return { go_test_args = { "-v", "-race", - "-count=1", - "-timeout=60s", "-coverprofile=" .. vim.fn.getcwd() .. "/coverage.out", }, dap_go_enabled = true, @@ -201,6 +198,9 @@ return { local meta = getmetatable(adapter) if adapter.setup then adapter.setup(config) + elseif adapter.adapter then + adapter.adapter(config) + adapter = adapter.adapter elseif meta and meta.__call then adapter(config) else