aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2021-03-23 17:04:48 +0000
committerKirill Bulatov <[email protected]>2021-03-23 17:04:48 +0000
commitf1e1a2c0a79cc5cdab5ee6c6af21661d8e0731d8 (patch)
tree4b933da4aaf8103f7e8ae366ecdbd5577b44c4c9 /crates
parentc220b340958c447b72330148e44f24c9204f84c2 (diff)
Limit the hints size by default
Diffstat (limited to 'crates')
-rw-r--r--crates/rust-analyzer/src/config.rs4
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..f49c4c33a 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> = "20",
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",