Skip to content

Commit 971ff9e

Browse files
committed
Hide type size information by default
1 parent a2e2741 commit 971ff9e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/rust-analyzer/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ config_data! {
370370
/// How to render the align information in a memory layout hover.
371371
hover_memoryLayout_alignment: Option<MemoryLayoutHoverRenderKindDef> = "\"hexadecimal\"",
372372
/// Whether to show memory layout data on hover.
373-
hover_memoryLayout_enable: bool = "true",
373+
hover_memoryLayout_enable: bool = "false",
374374
/// How to render the niche information in a memory layout hover.
375375
hover_memoryLayout_niches: Option<bool> = "false",
376376
/// How to render the offset information in a memory layout hover.

docs/user/generated_config.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ Use markdown syntax for links on hover.
500500
--
501501
How to render the align information in a memory layout hover.
502502
--
503-
[[rust-analyzer.hover.memoryLayout.enable]]rust-analyzer.hover.memoryLayout.enable (default: `true`)::
503+
[[rust-analyzer.hover.memoryLayout.enable]]rust-analyzer.hover.memoryLayout.enable (default: `false`)::
504504
+
505505
--
506506
Whether to show memory layout data on hover.

editors/code/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@
10891089
},
10901090
"rust-analyzer.hover.memoryLayout.enable": {
10911091
"markdownDescription": "Whether to show memory layout data on hover.",
1092-
"default": true,
1092+
"default": false,
10931093
"type": "boolean"
10941094
},
10951095
"rust-analyzer.hover.memoryLayout.niches": {

0 commit comments

Comments
 (0)