~havi/nvim.d

nvim.d/nlsp-settings/gopls.json -rw-r--r-- 1.1 KiB
f5f5475dhavi feat(snippets/json/markdown): add note frontmatter snippets 7 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
  "go.testFlags": [
    "-v",
    "-timeout",
    "5m"
  ],
  "go.coverMode": "atomic",
  "go.lintTool": "golangci-lint",
  "go.lintFlags": [
    "run",
    "--config",
    "${workspaceFolder}/.golangci.yml"
  ],
  "go.formatTool": "goimports",
  "go.useLanguageServer": true,
  "go.autocompleteUnimportedPackages": true,
  "go.gotoSymbol.includeImports": true,
  "go.gotoSymbol.includeGoroot": true,
  "go.buildOnSave": "package",
  "go.lintOnSave": "package",
  "go.vetOnSave": "package",
  "go.testOnSave": false,
  "gopls": {
    "gofumpt" : true,
    "codelenses" : {
      "gc_details" : true,
      "generate" : true,
      "regenerate_cgo" : true,
      "tidy" : true,
      "upgrade_dependency" : true,
      "vendor" : true
    },
    "diagnosticsDelay" : "300ms",
    "experimentalWatchedFileDelay" : "100ms",
    "symbolMatcher" : "fuzzy",
    "completeUnimported" : true,
    "staticcheck" : true,
    "matcher" : "Fuzzy",
    "usePlaceholders" : true,
    "analyses" : {
      "fieldalignment" : true,
      "nilness" : true,
      "shadow" : true,
      "unusedparams" : true,
      "unusedwrite" : true
    }
  }
}