mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00

Add a separate markdown file containing the settings.json snippet from the "Useful Setup Tips". This fixes the rendering and also makes the text selectable. Also use double-backticks for `code` rendering.
10 lines
234 B
Markdown
10 lines
234 B
Markdown
# Settings Example
|
|
|
|
Add the following to settings.json to mark Rust library sources as read-only:
|
|
|
|
```json
|
|
"files.readonlyInclude": {
|
|
"**/.cargo/registry/src/**/*.rs": true,
|
|
"**/lib/rustlib/src/rust/library/**/*.rs": true,
|
|
},
|
|
```
|