diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-09-27 15:12:44 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-27 15:12:44 +0000 |
| commit | ffcaceb80f230cffac51bd1e0d206c18f89a15e5 (patch) | |
| tree | b91f8cc356c3ea9c1635708ed5581e00256998db | |
| parent | 5347c3ab5989a968b8e942104bdb3b55fb7e7d6f (diff) | |
| parent | 81891f7abecbcdd8d97bf878dd1dbce595755d6a (diff) | |
| download | rust-ffcaceb80f230cffac51bd1e0d206c18f89a15e5.tar.gz rust-ffcaceb80f230cffac51bd1e0d206c18f89a15e5.zip | |
Merge #10366
10366: feat: Enable attribute proc macros by default r=lnicola a=lnicola Closes #9868 bors r+ Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
| -rw-r--r-- | crates/rust-analyzer/src/config.rs | 2 | ||||
| -rw-r--r-- | docs/user/generated_config.adoc | 2 | ||||
| -rw-r--r-- | editors/code/package.json | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs index 8f02082f3e7..6c098333683 100644 --- a/crates/rust-analyzer/src/config.rs +++ b/crates/rust-analyzer/src/config.rs @@ -143,7 +143,7 @@ config_data! { diagnostics_warningsAsInfo: Vec<String> = "[]", /// Expand attribute macros. - experimental_procAttrMacros: bool = "false", + experimental_procAttrMacros: bool = "true", /// Controls file watching implementation. files_watcher: String = "\"client\"", diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index 5e7b7222262..768216fed95 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -191,7 +191,7 @@ List of warnings that should be displayed with info severity. The warnings will be indicated by a blue squiggly underline in code and a blue icon in the `Problems Panel`. -- -[[rust-analyzer.experimental.procAttrMacros]]rust-analyzer.experimental.procAttrMacros (default: `false`):: +[[rust-analyzer.experimental.procAttrMacros]]rust-analyzer.experimental.procAttrMacros (default: `true`):: + -- Expand attribute macros. diff --git a/editors/code/package.json b/editors/code/package.json index 541293ff121..a9593024d45 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -641,7 +641,7 @@ }, "rust-analyzer.experimental.procAttrMacros": { "markdownDescription": "Expand attribute macros.", - "default": false, + "default": true, "type": "boolean" }, "rust-analyzer.files.watcher": { |
