Bump the default hint length

This commit is contained in:
Kirill Bulatov 2021-03-23 19:43:55 +02:00
parent f1e1a2c0a7
commit 5e83a56dfb
3 changed files with 3 additions and 3 deletions

View file

@ -132,7 +132,7 @@ config_data! {
/// Whether to show inlay type hints for method chains.
inlayHints_chainingHints: bool = "true",
/// Maximum length for inlay hints. Set to null to have an unlimited length.
inlayHints_maxLength: Option<usize> = "20",
inlayHints_maxLength: Option<usize> = "25",
/// Whether to show function parameter name inlay hints at the call
/// site.
inlayHints_parameterHints: bool = "true",

View file

@ -206,7 +206,7 @@ Use markdown syntax for links in hover.
--
Whether to show inlay type hints for method chains.
--
[[rust-analyzer.inlayHints.maxLength]]rust-analyzer.inlayHints.maxLength (default: `20`)::
[[rust-analyzer.inlayHints.maxLength]]rust-analyzer.inlayHints.maxLength (default: `25`)::
+
--
Maximum length for inlay hints. Set to null to have an unlimited length.

View file

@ -626,7 +626,7 @@
},
"rust-analyzer.inlayHints.maxLength": {
"markdownDescription": "Maximum length for inlay hints. Set to null to have an unlimited length.",
"default": 20,
"default": 25,
"type": [
"null",
"integer"