aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/gopls.lua
blob: 98d1c15b8419b3f367f3359a774fa1c94c6a35e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
return {
  settings = {
    gopls = {
      symbolMatcher = "fuzzy",
      symbolStyle = "dynamic",
      hints = {
        rangeVariableTypes = true,
        parameterNames = true,
        constantValues = true,
        assignVariableTypes = true,
        compositeLiteralFields = true,
        compositeLiteralTypes = true,
        functionTypeParameters = true,
      },
    },
  },
}