Add rustc-source to suggested rust-analyzer config (#1189)
This allows loading the sources for crates loaded from the sysroot.
This commit is contained in:
parent
fa6a787cfd
commit
9be3fafda6
|
|
@ -36,6 +36,7 @@ you can write:
|
||||||
],
|
],
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
"rust-analyzer.cargo.runBuildScripts": false,
|
"rust-analyzer.cargo.runBuildScripts": false,
|
||||||
|
"rust-analyzer.rustcSource": "./Cargo.toml",
|
||||||
"rust-analyzer.procMacro.enable": false
|
"rust-analyzer.procMacro.enable": false
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue