mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-29 14:33:29 +00:00
11 lines
234 B
Markdown
11 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,
|
||
|
},
|
||
|
```
|