diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-03-24 08:53:48 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-03-24 08:53:48 +0000 |
commit | 5f9ba2d589afaaec91ee79bfc7fa3aba636916f2 (patch) | |
tree | 120873f34a98e257f644ed2e15e527653a4b17cb /crates | |
parent | 3e8f13d2748edc176328706a338c76c0c3e4c61b (diff) | |
parent | 5e83a56dfb69320b4fe3a980a1d1b79bab301894 (diff) |
Merge #8177
8177: Limit the hints size by default r=Veykril a=SomeoneToIgnore
Fixes https://github.com/rust-analyzer/rust-analyzer/issues/8175
Fixes https://github.com/rust-analyzer/rust-analyzer/issues/3138
Co-authored-by: Kirill Bulatov <[email protected]>
Diffstat (limited to 'crates')
-rw-r--r-- | crates/rust-analyzer/src/config.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs index 5c88c3a9b..cda272fd4 100644 --- a/crates/rust-analyzer/src/config.rs +++ b/crates/rust-analyzer/src/config.rs | |||
@@ -131,8 +131,8 @@ config_data! { | |||
131 | 131 | ||
132 | /// Whether to show inlay type hints for method chains. | 132 | /// Whether to show inlay type hints for method chains. |
133 | inlayHints_chainingHints: bool = "true", | 133 | inlayHints_chainingHints: bool = "true", |
134 | /// Maximum length for inlay hints. Default is unlimited. | 134 | /// Maximum length for inlay hints. Set to null to have an unlimited length. |
135 | inlayHints_maxLength: Option<usize> = "null", | 135 | inlayHints_maxLength: Option<usize> = "25", |
136 | /// Whether to show function parameter name inlay hints at the call | 136 | /// Whether to show function parameter name inlay hints at the call |
137 | /// site. | 137 | /// site. |
138 | inlayHints_parameterHints: bool = "true", | 138 | inlayHints_parameterHints: bool = "true", |