Add it in Tori
- Open Settings with the gear in the title bar.
- Go to LSP.
- Go is already there: it ships inside Tori. When the catalog has a newer version, Add a language lists it with Update.
Adding writes one file and runs nothing. Tori then shows how to install the tool itself.
Use it without the catalog
Download the file and drop it in the folder below. Tori loads it the next time it starts.
Download file go.toml
~/.config/tori/packs/lsp/
The file
go.tomlRead only
1# Go via `gopls`, which its own toolchain installs, so Tori2# offers a hint rather than an install. See LSP-SERVERS.md.34schema_version = 15id = "go"6label = "Go"7description = "Go, through gopls"8license = "Apache-2.0"9contributor = { name = "Tori", github = "gettori" }10verified_against = "gopls v0.23.0"11verified_on = "2026-10-09"12root_markers = ["go.work", "go.mod", ".git"]13request_timeout_ms = 600001415# Loads packages through `go list`, which can fetch the toolchain go.mod names.16runs_project_code = true1718[languages]19go = "go"2021[launch]22kind = "path"23program = "gopls"24args = []2526[install]27kind = "hint"28text = "Install it with `go install golang.org/x/tools/gopls@latest`."29update = "go install golang.org/x/tools/gopls@latest"30uninstall = 'gobin="$(go env GOBIN)"; rm "${gobin:-$(go env GOPATH)/bin}/gopls"'