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! {
131
131
132
132
/// Whether to show inlay type hints for method chains.
133
133
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 " ,
136
136
/// Whether to show function parameter name inlay hints at the call
137
137
/// site.
138
138
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.
206
206
--
207
207
Whether to show inlay type hints for method chains.
208
208
--
209
- [[rust-analyzer.inlayHints.maxLength]]rust-analyzer.inlayHints.maxLength (default: `null ` )::
209
+ [[rust-analyzer.inlayHints.maxLength]]rust-analyzer.inlayHints.maxLength (default: `25 ` )::
210
210
+
211
211
--
212
- Maximum length for inlay hints. Default is unlimited.
212
+ Maximum length for inlay hints. Set to null to have an unlimited length .
213
213
--
214
214
[[rust-analyzer.inlayHints.parameterHints]]rust-analyzer.inlayHints.parameterHints (default: `true` )::
215
215
+
Original file line number Diff line number Diff line change 625
625
"type" : " boolean"
626
626
},
627
627
"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 ,
630
630
"type" : [
631
631
" null" ,
632
632
" integer"
You can’t perform that action at this time.
0 commit comments