fix(nvim): use gopls remote mode to avoid spawning new server
This commit is contained in:
@@ -208,6 +208,7 @@ setup_lsp("gopls", {
|
|||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
filetypes = { "go" },
|
filetypes = { "go" },
|
||||||
|
cmd = { "gopls", "-remote=auto" },
|
||||||
settings = {
|
settings = {
|
||||||
gopls = {
|
gopls = {
|
||||||
buildFlags = { "-tags=e2e" },
|
buildFlags = { "-tags=e2e" },
|
||||||
|
|||||||
Reference in New Issue
Block a user