// Folder-specific settings // // For a full list of overridable settings, and general information on folder-specific settings, // see the documentation: https://zed.dev/docs/configuring-zed#settings-files { "lsp": { "rust-analyzer": { "initialization_options": { // get more cargo-less diagnostics from rust-analyzer, // which might include false-positives (those can be turned off by their names) "diagnostics": { "experimental": { "enable": true } }, // To disable the checking entirely // (ignores all cargo and check settings below) "checkOnSave": false, // To check the `lib` target only. "cargo": { "allTargets": false }, // Use `-p` instead of `--workspace` for cargo check "check": { "workspace": false } } } } }