Skip to content

Commit 7fb7c24

Browse files
author
Jonas Schievink
committed
Add .enable suffix
1 parent 0616cee commit 7fb7c24

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

crates/rust-analyzer/src/config.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,10 @@ config_data! {
243243
hover_actions_run_enable: bool = "true",
244244

245245
/// Whether to show documentation on hover.
246-
hover_documentation_enable: bool = "true",
246+
hover_documentation_enable: bool = "true",
247247
/// Whether to show keyword hover popups. Only applies when
248248
/// `#rust-analyzer.hover.documentation.enable#` is set.
249-
hover_documentation_keywords: bool = "true",
249+
hover_documentation_keywords_enable: bool = "true",
250250
/// Use markdown syntax for links in hover.
251251
hover_links_enable: bool = "true",
252252

@@ -1190,7 +1190,7 @@ impl Config {
11901190
HoverDocFormat::PlainText
11911191
}
11921192
}),
1193-
keywords: self.data.hover_documentation_keywords,
1193+
keywords: self.data.hover_documentation_keywords_enable,
11941194
}
11951195
}
11961196

docs/user/generated_config.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ Whether to show `Run` action. Only applies when
318318
--
319319
Whether to show documentation on hover.
320320
--
321-
[[rust-analyzer.hover.documentation.keywords]]rust-analyzer.hover.documentation.keywords (default: `true`)::
321+
[[rust-analyzer.hover.documentation.keywords.enable]]rust-analyzer.hover.documentation.keywords.enable (default: `true`)::
322322
+
323323
--
324324
Whether to show keyword hover popups. Only applies when

editors/code/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@
756756
"default": true,
757757
"type": "boolean"
758758
},
759-
"rust-analyzer.hover.documentation.keywords": {
759+
"rust-analyzer.hover.documentation.keywords.enable": {
760760
"markdownDescription": "Whether to show keyword hover popups. Only applies when\n`#rust-analyzer.hover.documentation.enable#` is set.",
761761
"default": true,
762762
"type": "boolean"

0 commit comments

Comments
 (0)