{
  // 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",
            "src/ghostty/bindings.rs"
          ]
        },
        "lru": {
          "capacity": 32
        },
        "cachePriming": {
          "enable": false,
          "numThreads": 1
        },
        "procMacro": {
          "enable": false
        },
        "numThreads": 2
      }
    }
  },
}
