8032: Enable proc-macros by default r=matklad a=matklad

bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2021-03-15 15:21:42 +00:00 committed by GitHub
commit 106a5abbef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

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

View File

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