From 40bfbc6dc343623a4a8175a95b8de1af7e0d33a6 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sun, 8 Sep 2024 13:36:50 +0200 Subject: [PATCH] nvim: go: add neotest adapter. --- nvim/lua/user/plugins/lang/go.lua | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/nvim/lua/user/plugins/lang/go.lua b/nvim/lua/user/plugins/lang/go.lua index 2f538ca..0d10658 100644 --- a/nvim/lua/user/plugins/lang/go.lua +++ b/nvim/lua/user/plugins/lang/go.lua @@ -57,5 +57,18 @@ return { opts = { servers = lspservers }, - } + }, + { + "nvim-neotest/neotest", + optional = true, + ft = { "go" }, + dependencies = { + "nvim-neotest/neotest-go", + }, + opts = { + adapters = { + ["neotest-go"] = {} + } + } + }, }