mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 21:28:51 +00:00
Bump the default hint length
This commit is contained in:
parent
f1e1a2c0a7
commit
5e83a56dfb
3 changed files with 3 additions and 3 deletions
|
@ -132,7 +132,7 @@ config_data! {
|
||||||
/// Whether to show inlay type hints for method chains.
|
/// Whether to show inlay type hints for method chains.
|
||||||
inlayHints_chainingHints: bool = "true",
|
inlayHints_chainingHints: bool = "true",
|
||||||
/// Maximum length for inlay hints. Set to null to have an unlimited length.
|
/// 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
|
/// Whether to show function parameter name inlay hints at the call
|
||||||
/// site.
|
/// site.
|
||||||
inlayHints_parameterHints: bool = "true",
|
inlayHints_parameterHints: bool = "true",
|
||||||
|
|
|
@ -206,7 +206,7 @@ Use markdown syntax for links in hover.
|
||||||
--
|
--
|
||||||
Whether to show inlay type hints for method chains.
|
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.
|
Maximum length for inlay hints. Set to null to have an unlimited length.
|
||||||
|
|
|
@ -626,7 +626,7 @@
|
||||||
},
|
},
|
||||||
"rust-analyzer.inlayHints.maxLength": {
|
"rust-analyzer.inlayHints.maxLength": {
|
||||||
"markdownDescription": "Maximum length for inlay hints. Set to null to have an unlimited length.",
|
"markdownDescription": "Maximum length for inlay hints. Set to null to have an unlimited length.",
|
||||||
"default": 20,
|
"default": 25,
|
||||||
"type": [
|
"type": [
|
||||||
"null",
|
"null",
|
||||||
"integer"
|
"integer"
|
||||||
|
|
Loading…
Reference in a new issue