add time units to timeout descriptions

Changed the description for the 'hints/auto-follow-timeout', 'input/timeout' and 'input/partial-timeout' settings to specify that the time should be given in milliseconds
This commit is contained in:
addictedtoflames 2016-08-08 17:32:41 +01:00 committed by GitHub
parent af8302b678
commit b750d93891

View File

@ -488,13 +488,13 @@ def data(readonly=False):
('input', sect.KeyValue( ('input', sect.KeyValue(
('timeout', ('timeout',
SettingValue(typ.Int(minval=0, maxval=MAXVALS['int']), '500'), SettingValue(typ.Int(minval=0, maxval=MAXVALS['int']), '500'),
"Timeout for ambiguous key bindings.\n\n" "Timeout (in milliseconds) for ambiguous key bindings.\n\n"
"If the current input forms both a complete match and a partial " "If the current input forms both a complete match and a partial "
"match, the complete match will be executed after this time."), "match, the complete match will be executed after this time."),
('partial-timeout', ('partial-timeout',
SettingValue(typ.Int(minval=0, maxval=MAXVALS['int']), '5000'), SettingValue(typ.Int(minval=0, maxval=MAXVALS['int']), '5000'),
"Timeout for partially typed key bindings.\n\n" "Timeout (in milliseconds) for partially typed key bindings.\n\n"
"If the current input forms only partial matches, the keystring " "If the current input forms only partial matches, the keystring "
"will be cleared after this time."), "will be cleared after this time."),
@ -933,7 +933,7 @@ def data(readonly=False):
('auto-follow-timeout', ('auto-follow-timeout',
SettingValue(typ.Int(), '0'), SettingValue(typ.Int(), '0'),
"A timeout to inhibit normal-mode key bindings after a successful" "A timeout (in milliseconds) to inhibit normal-mode key bindings after a successful"
"auto-follow."), "auto-follow."),
('next-regexes', ('next-regexes',