diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-04-27 09:31:35 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-04-27 09:31:35 +0100 |
commit | 4af50de0abc81fff51caa2fbadfc31915e63e6a4 (patch) | |
tree | 64a9e0b4102aa1dbec4ea890d200479709352bf5 /crates | |
parent | c5364ffde14eed2738b4a45cd004af07819967c5 (diff) | |
parent | 0230f22d2a86ad7720b4a39e41a13111aa4b4789 (diff) |
Merge #8617
8617: Add option to opt out of smaller font size for inlay hints. r=SomeoneToIgnore a=jmederosalvarado
As requested on issue #6883 this PR provides an option for users to opt out of the smaller font size for inlay hints. Part of #6883.
Co-authored-by: Jorge Mederos Alvarado <[email protected]>
Diffstat (limited to 'crates')
-rw-r--r-- | crates/rust-analyzer/src/config.rs | 2 |
1 files changed, 2 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. |