Align the name of proc-macro enabling flag

We use `enable`, not `enabled` elsewhere
This commit is contained in:
Aleksey Kladov 2020-04-22 17:22:59 +02:00
parent d436beeb04
commit 9e16e2b279
2 changed files with 2 additions and 2 deletions

View file

@ -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()]));

View file

@ -389,7 +389,7 @@
"type": "boolean",
"default": false
},
"rust-analyzer.procMacro.enabled": {
"rust-analyzer.procMacro.enable": {
"description": "Enable Proc macro support, cargo.loadOutDirsFromCheck must be enabled.",
"type": "boolean",
"default": false