aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/rust-analyzer/src/config.rs2
-rw-r--r--docs/user/generated_config.adoc5
2 files changed, 7 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs
index d81ee94ee..28bbbce19 100644
--- a/crates/rust-analyzer/src/config.rs
+++ b/crates/rust-analyzer/src/config.rs
@@ -145,6 +145,8 @@ config_data! {
145 inlayHints_parameterHints: bool = "true", 145 inlayHints_parameterHints: bool = "true",
146 /// Whether to show inlay type hints for variables. 146 /// Whether to show inlay type hints for variables.
147 inlayHints_typeHints: bool = "true", 147 inlayHints_typeHints: bool = "true",
148 /// Whether inlay hints font size should be smaller than editor's font size.
149 inlayHints_smallerHints: bool = "true",
148 150
149 /// Whether to show `Debug` lens. Only applies when 151 /// Whether to show `Debug` lens. Only applies when
150 /// `#rust-analyzer.lens.enable#` is set. 152 /// `#rust-analyzer.lens.enable#` is set.
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc
index e28423e99..db3c5f7bb 100644
--- a/docs/user/generated_config.adoc
+++ b/docs/user/generated_config.adoc
@@ -234,6 +234,11 @@ site.
234-- 234--
235Whether to show inlay type hints for variables. 235Whether to show inlay type hints for variables.
236-- 236--
237[[rust-analyzer.inlayHints.smallerHints]]rust-analyzer.inlayHints.smallerHints (default: `true`)::
238+
239--
240Whether inlay hints font size should be smaller than editor's font size.
241--
237[[rust-analyzer.lens.debug]]rust-analyzer.lens.debug (default: `true`):: 242[[rust-analyzer.lens.debug]]rust-analyzer.lens.debug (default: `true`)::
238+ 243+
239-- 244--