Limit the hints size by default

This commit is contained in:
Kirill Bulatov 2021-03-23 19:04:48 +02:00
parent c220b34095
commit f1e1a2c0a7
3 changed files with 6 additions and 6 deletions

View file

@ -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<usize> = "null",
/// Maximum length for inlay hints. Set to null to have an unlimited length.
inlayHints_maxLength: Option<usize> = "20",
/// Whether to show function parameter name inlay hints at the call
/// site.
inlayHints_parameterHints: bool = "true",