mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
Align the name of proc-macro enabling flag
We use `enable`, not `enabled` elsewhere
This commit is contained in:
parent
d436beeb04
commit
9e16e2b279
2 changed files with 2 additions and 2 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/enabled") {
|
||||
match get::<bool>(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…
Add table
Add a link
Reference in a new issue