File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -131,8 +131,8 @@ config_data! {
131131
132132 /// Whether to show inlay type hints for method chains.
133133 inlayHints_chainingHints: bool = "true" ,
134- /// Maximum length for inlay hints. Default is unlimited.
135- inlayHints_maxLength: Option <usize > = "null " ,
134+ /// Maximum length for inlay hints. Set to null to have an unlimited length .
135+ inlayHints_maxLength: Option <usize > = "25 " ,
136136 /// Whether to show function parameter name inlay hints at the call
137137 /// site.
138138 inlayHints_parameterHints: bool = "true" ,
Original file line number Diff line number Diff line change @@ -206,10 +206,10 @@ Use markdown syntax for links in hover.
206206--
207207Whether to show inlay type hints for method chains.
208208--
209- [[rust-analyzer.inlayHints.maxLength]]rust-analyzer.inlayHints.maxLength (default: `null ` )::
209+ [[rust-analyzer.inlayHints.maxLength]]rust-analyzer.inlayHints.maxLength (default: `25 ` )::
210210+
211211--
212- Maximum length for inlay hints. Default is unlimited.
212+ Maximum length for inlay hints. Set to null to have an unlimited length .
213213--
214214[[rust-analyzer.inlayHints.parameterHints]]rust-analyzer.inlayHints.parameterHints (default: `true` )::
215215+
Original file line number Diff line number Diff line change 625625 "type" : " boolean"
626626 },
627627 "rust-analyzer.inlayHints.maxLength" : {
628- "markdownDescription" : " Maximum length for inlay hints. Default is unlimited." ,
629- "default" : null ,
628+ "markdownDescription" : " Maximum length for inlay hints. Set to null to have an unlimited length ." ,
629+ "default" : 25 ,
630630 "type" : [
631631 " null" ,
632632 " integer"
You can’t perform that action at this time.
0 commit comments