aboutsummaryrefslogtreecommitdiff
path: root/.zed/settings.json
blob: ea7415562d7c458cecce284c57b63a468ec3d97e (plain)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
  // Project-local Rust tuning for herdr
  "file_scan_exclusions": [
    "**/.git",
    "**/.svn",
    "**/.hg",
    "**/.jj",
    "**/CVS",
    "**/.DS_Store",
    "**/Thumbs.db",
    "**/.classpath",
    "**/.settings",
    "**/target",
    "**/node_modules",
    "**/.zig-cache",
    "**/zig-out",
  ],

  "languages": {
    "Rust": {
      "enable_language_server": true,
      "formatter": "auto",
      "format_on_save": "off"
    }
  },

  "lsp": {
    "rust-analyzer": {
      "enable_lsp_tasks": false,
      "initialization_options": {
        "checkOnSave": false,
        "cargo": {
          "noDeps": true,
          "allTargets": false,
          "buildScripts": {
            "enable": false
          }
        },
        "check": {
          "workspace": false
        },
        "rust": {
          "analyzerTargetDir": true
        },
        "files": {
          "exclude": [
            "target",
            "vendor",
            "crates/ghostty-vt/src/bindings.rs"
          ]
        },
        "lru": {
          "capacity": 32
        },
        "cachePriming": {
          "enable": false,
          "numThreads": 1
        },
        "procMacro": {
          "enable": false
        },
        "numThreads": 2
      }
    }
  },
}