Go
Install
macOS
go install golang.org/x/tools/gopls@latest
Or via Homebrew:
brew install gopls
Linux
go install golang.org/x/tools/gopls@latest
Windows
go install golang.org/x/tools/gopls@latest
Config
Add to ~/.config/catenary/config.toml:
[server.gopls]
command = "gopls"
[language.go]
servers = ["gopls"]
Notes
goplsis the official Go language server- Ensure
$GOPATH/bin(or$HOME/go/bin) is in your PATH - Works with Go modules out of the box
- First run indexes your module cache — may take a moment