Verified Commit fc5f666b authored by Adam Jimerson's avatar Adam Jimerson
Browse files

Update Go LSP configuration



Update the Go LSP configuration adding additional arguments to
`commandDebug` to match what is used by the coc.nvim Vim/Neovim plugin.
This also sets the `path` key to search for `gopls` in $HOME/go/bin by
default.
Signed-off-by: Adam Jimerson's avatarAdam Jimerson <vendion@gmail.com>
parent 3108c6ea
......@@ -48,11 +48,13 @@
"highlightingModeRegex": "^Fortran.*$"
},
"go": {
"command": ["gopls"],
"commandDebug": ["gopls", "-rpc.trace"],
"rootIndicationFileNames": ["go.mod"],
"url": "golang.org/x/tools/gopls",
"highlightingModeRegex": "^Go$"
"go": {
"command": ["gopls"],
"commandDebug": ["gopls", "serve", "-debug", "0.0.0.0:8484", "-rpc.trace"],
"path": ["%{ENV:HOME}/go/bin", "%{ENV:USERPROFILE}/go/bin"],
"rootIndicationFileNames": ["go.mod"],
"url": "golang.org/x/tools/gopls",
"highlightingModeRegex": "^Go$"
},
"haskell": {
"command": ["haskell-language-server-wrapper", "--lsp"],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment