aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/rust-analyzer/src/config.rs2
-rw-r--r--docs/user/generated_config.adoc2
-rw-r--r--editors/code/package.json2
3 files changed, 3 insertions, 3 deletions
diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs
index 8af7871ac..8f541976e 100644
--- a/crates/rust-analyzer/src/config.rs
+++ b/crates/rust-analyzer/src/config.rs
@@ -172,7 +172,7 @@ config_data! {
172 notifications_cargoTomlNotFound: bool = "true", 172 notifications_cargoTomlNotFound: bool = "true",
173 173
174 /// Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`. 174 /// Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`.
175 procMacro_enable: bool = "false", 175 procMacro_enable: bool = "true",
176 /// Internal config, path to proc-macro server executable (typically, 176 /// Internal config, path to proc-macro server executable (typically,
177 /// this is rust-analyzer itself, but we override this in tests). 177 /// this is rust-analyzer itself, but we override this in tests).
178 procMacro_server: Option<PathBuf> = "null", 178 procMacro_server: Option<PathBuf> = "null",
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc
index 042ba2d54..c2521289c 100644
--- a/docs/user/generated_config.adoc
+++ b/docs/user/generated_config.adoc
@@ -276,7 +276,7 @@ Number of syntax trees rust-analyzer keeps in memory. Defaults to 128.
276-- 276--
277Whether to show `can't find Cargo.toml` error message. 277Whether to show `can't find Cargo.toml` error message.
278-- 278--
279[[rust-analyzer.procMacro.enable]]rust-analyzer.procMacro.enable (default: `false`):: 279[[rust-analyzer.procMacro.enable]]rust-analyzer.procMacro.enable (default: `true`)::
280+ 280+
281-- 281--
282Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`. 282Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`.
diff --git a/editors/code/package.json b/editors/code/package.json
index 923e9b35a..a2ed9b2d5 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -690,7 +690,7 @@
690 }, 690 },
691 "rust-analyzer.procMacro.enable": { 691 "rust-analyzer.procMacro.enable": {
692 "markdownDescription": "Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`.", 692 "markdownDescription": "Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`.",
693 "default": false, 693 "default": true,
694 "type": "boolean" 694 "type": "boolean"
695 }, 695 },
696 "rust-analyzer.procMacro.server": { 696 "rust-analyzer.procMacro.server": {