|
186 | 186 | "rust-analyzer.cargo.cfgs" = {
|
187 | 187 | description = ''
|
188 | 188 | List of cfg options to enable with the given values.
|
| 189 | +
|
| 190 | + To enable a name without a value, use `"key"`. |
| 191 | + To enable a name with a value, use `"key=value"`. |
| 192 | + To disable, prefix the entry with a `!`. |
189 | 193 | '';
|
190 | 194 | pluginDefault = [
|
191 | 195 | "debug_assertions"
|
|
531 | 535 | kind = "boolean";
|
532 | 536 | };
|
533 | 537 | };
|
| 538 | + "rust-analyzer.completion.autoAwait.enable" = { |
| 539 | + description = '' |
| 540 | + Toggles the additional completions that automatically show method calls and field accesses with `await` prefixed to them when completing on a future. |
| 541 | + ''; |
| 542 | + pluginDefault = true; |
| 543 | + type = { |
| 544 | + kind = "boolean"; |
| 545 | + }; |
| 546 | + }; |
| 547 | + "rust-analyzer.completion.autoIter.enable" = { |
| 548 | + description = '' |
| 549 | + Toggles the additional completions that automatically show method calls with `iter()` or `into_iter()` prefixed to them when completing on a type that has them. |
| 550 | + ''; |
| 551 | + pluginDefault = true; |
| 552 | + type = { |
| 553 | + kind = "boolean"; |
| 554 | + }; |
| 555 | + }; |
534 | 556 | "rust-analyzer.completion.autoimport.enable" = {
|
535 | 557 | description = ''
|
536 | 558 | Toggles the additional completions that automatically add imports when completed.
|
|
833 | 855 | kind = "list";
|
834 | 856 | };
|
835 | 857 | };
|
836 |
| - "rust-analyzer.files.excludeDirs" = { |
| 858 | + "rust-analyzer.files.exclude" = { |
837 | 859 | description = ''
|
838 |
| - These directories will be ignored by rust-analyzer. They are |
| 860 | + These paths (file/directories) will be ignored by rust-analyzer. They are |
839 | 861 | relative to the workspace root, and globs are not supported. You may
|
840 | 862 | also need to add the folders to Code's `files.watcherExclude`.
|
841 | 863 | '';
|
|
997 | 1019 | kind = "boolean";
|
998 | 1020 | };
|
999 | 1021 | };
|
| 1022 | + "rust-analyzer.hover.dropGlue.enable" = { |
| 1023 | + description = '' |
| 1024 | + Whether to show drop glue information on hover. |
| 1025 | + ''; |
| 1026 | + pluginDefault = true; |
| 1027 | + type = { |
| 1028 | + kind = "boolean"; |
| 1029 | + }; |
| 1030 | + }; |
1000 | 1031 | "rust-analyzer.hover.links.enable" = {
|
1001 | 1032 | description = ''
|
1002 | 1033 | Use markdown syntax for links on hover.
|
|
1558 | 1589 | kind = "boolean";
|
1559 | 1590 | };
|
1560 | 1591 | };
|
| 1592 | + "rust-analyzer.inlayHints.typeHints.hideClosureParameter" = { |
| 1593 | + description = '' |
| 1594 | + Whether to hide inlay parameter type hints for closures. |
| 1595 | + ''; |
| 1596 | + pluginDefault = false; |
| 1597 | + type = { |
| 1598 | + kind = "boolean"; |
| 1599 | + }; |
| 1600 | + }; |
1561 | 1601 | "rust-analyzer.inlayHints.typeHints.hideNamedConstructor" = {
|
1562 | 1602 | description = ''
|
1563 | 1603 | Whether to hide inlay type hints for constructors.
|
|
0 commit comments