mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(go): update plugin
This commit is contained in:
parent
744d14693a
commit
a6bcba008e
1 changed files with 8 additions and 6 deletions
|
|
@ -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,
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue