aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-registry/gopls/init.lua
blob: 39c4c74ed2440946ac600c8a5ca0c50d6e8ecf67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
local Pkg = require "mason.core.package"
local go = require "mason.core.managers.go"

return Pkg.new {
    name = "gopls",
    desc = [[gopls (pronounced "Go please") is the official Go language server developed by the Go team. It provides IDE features to any LSP-compatible editor.]],
    homepage = "https://pkg.go.dev/golang.org/x/tools/gopls",
    languages = { Pkg.Lang.Go },
    categories = { Pkg.Cat.LSP },
    install = go.packages { "golang.org/x/tools/gopls", bin = { "gopls" } },
}