From f1e1a2c0a79cc5cdab5ee6c6af21661d8e0731d8 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Tue, 23 Mar 2021 19:04:48 +0200 Subject: Limit the hints size by default --- crates/rust-analyzer/src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates') 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! { /// Whether to show inlay type hints for method chains. inlayHints_chainingHints: bool = "true", - /// Maximum length for inlay hints. Default is unlimited. - inlayHints_maxLength: Option = "null", + /// Maximum length for inlay hints. Set to null to have an unlimited length. + inlayHints_maxLength: Option = "20", /// Whether to show function parameter name inlay hints at the call /// site. inlayHints_parameterHints: bool = "true", -- cgit v1.2.3