fix(go): update plugin

This commit is contained in:
Jonas Holst Damtoft 2023-05-23 11:16:07 +02:00
parent 744d14693a
commit a6bcba008e

View file

@ -13,7 +13,9 @@ return {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
opts = { opts = {
servers = { servers = {
gopls = {}, gopls = {
semanticTokens = true,
},
}, },
}, },
}, },
@ -35,10 +37,10 @@ return {
dependencies = { dependencies = {
"nvim-neotest/neotest-go", "nvim-neotest/neotest-go",
}, },
opts = function(_, opts) opts = {
opts.adapters = vim.list_extend(opts.adapters or {}, { adapter_config = {
require("neotest-go"), ["neotest-go"] = {},
}) },
end, },
}, },
} }