From a6bb256ccdfe3bd9588c3fed02762340c68bf363 Mon Sep 17 00:00:00 2001 From: Wellington Lopes Date: Wed, 7 Feb 2024 21:22:42 -0300 Subject: [PATCH] fix(go): adding opts recursive_run Adding opts recursive_run to fix the error 'no Go files in /path/project.' This issue is caused by a recent change in the 'nvim-neotest/neotest-go' project, which now [defaults to non-recursive behavior](https://github.com/nvim-neotest/neotest-go/pull/72) --- lua/lazyvim/plugins/extras/lang/go.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/lazyvim/plugins/extras/lang/go.lua b/lua/lazyvim/plugins/extras/lang/go.lua index aaad0128..c6b18093 100644 --- a/lua/lazyvim/plugins/extras/lang/go.lua +++ b/lua/lazyvim/plugins/extras/lang/go.lua @@ -148,6 +148,7 @@ return { ["neotest-go"] = { -- Here we can set options for neotest-go, e.g. -- args = { "-tags=integration" } + recursive_run = true, }, }, },