rust.md

 1# Rust
 2
 3- Tree Sitter: [tree-sitter-rust](https://github.com/tree-sitter/tree-sitter-rust)
 4- Language Server: [rust-analyzer](https://github.com/rust-lang/rust-analyzer)
 5
 6### Target directory
 7
 8The `rust-analyzer` target directory can be set in `initialization_options`:
 9
10```json
11{
12  "lsp": {
13    "rust-analyzer": {
14      "initialization_options": {
15        "rust": {
16          "analyzerTargetDir": true
17        }
18      }
19    }
20  }
21}
22```
23
24A `true` setting will set the target directory to `target/rust-analyzer`. You can set a custom directory with a string like `"target/analyzer"` instead of `true`.