-- Golang --[[ Installation go install golang.org/x/tools/gopls@latest brew install gopls --]] return { cmd = { "gopls" }, filetypes = { "go", "gomod", "gowork", "gotmpl" }, root_markers = { "go.work", "go.mod", ".git" }, settings = { gopls = { analyses = { unusedparams = true, }, staticcheck = true, -- semanticTokens = true, -- go's semantic token highlight is not accurate so far }, }, }