mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-25 11:17:13 +00:00
Merge pull request #19156 from programmerjake/patch-1
add cargo's git checkouts to the list of paths to mark as read-only in vscode
This commit is contained in:
commit
40e4f9130f
@ -5,6 +5,7 @@ Add the following to settings.json to mark Rust library sources as read-only:
|
||||
```json
|
||||
"files.readonlyInclude": {
|
||||
"**/.cargo/registry/src/**/*.rs": true,
|
||||
"**/.cargo/git/checkouts/**/*.rs": true,
|
||||
"**/lib/rustlib/src/rust/library/**/*.rs": true,
|
||||
},
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user