Enable proc-macros by default

This commit is contained in:
Aleksey Kladov 2021-03-15 18:19:08 +03:00
parent 5f6d71cf0c
commit 469b739c28
3 changed files with 3 additions and 3 deletions

View file

@ -172,7 +172,7 @@ struct ConfigData {
notifications_cargoTomlNotFound: bool = "true",
/// Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`.
procMacro_enable: bool = "false",
procMacro_enable: bool = "true",
/// Internal config, path to proc-macro server executable (typically,
/// this is rust-analyzer itself, but we override this in tests).
procMacro_server: Option<PathBuf> = "null",

View file

@ -276,7 +276,7 @@ Number of syntax trees rust-analyzer keeps in memory. Defaults to 128.
--
Whether to show `can't find Cargo.toml` error message.
--
[[rust-analyzer.procMacro.enable]]rust-analyzer.procMacro.enable (default: `false`)::
[[rust-analyzer.procMacro.enable]]rust-analyzer.procMacro.enable (default: `true`)::
+
--
Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`.

View file

@ -690,7 +690,7 @@
},
"rust-analyzer.procMacro.enable": {
"markdownDescription": "Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`.",
"default": false,
"default": true,
"type": "boolean"
},
"rust-analyzer.procMacro.server": {