mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 01:17:27 +00:00
Merge #4093
4093: Simplify config r=matklad a=Veetaha Co-authored-by: veetaha <veetaha2@gmail.com>
This commit is contained in:
commit
0502be3bf4
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ impl Config {
|
|||
set(value, "/cargo/features", &mut self.cargo.features);
|
||||
set(value, "/cargo/loadOutDirsFromCheck", &mut self.cargo.load_out_dirs_from_check);
|
||||
|
||||
match get::<bool>(value, "/procMacro/enable") {
|
||||
match get(value, "/procMacro/enable") {
|
||||
Some(true) => {
|
||||
if let Ok(path) = std::env::current_exe() {
|
||||
self.proc_macro_srv = Some((path.to_string_lossy().to_string(), vec!["proc-macro".to_string()]));
|
||||
|
|
Loading…
Reference in a new issue