docs: add missing change to getcharstr() signature (#33797)

(cherry picked from commit 862e676efc)
This commit is contained in:
zeertzjq
2025-05-03 08:10:13 +08:00
committed by github-actions[bot]
parent 901eeeb2e6
commit e5e69f758d
2 changed files with 2 additions and 2 deletions

View File

@ -3244,7 +3244,7 @@ getcharsearch() *getcharsearch()*
Return: ~
(`table`)
getcharstr([{expr}]) *getcharstr()*
getcharstr([{expr} [, {opts}]]) *getcharstr()*
The same as |getchar()|, except that this always returns a
String, and "number" isn't allowed in {opts}.

View File

@ -3652,7 +3652,7 @@ M.funcs = {
name = 'getcharstr',
params = { { 'expr', '-1|0|1' }, { 'opts', 'table' } },
returns = 'string',
signature = 'getcharstr([{expr}])',
signature = 'getcharstr([{expr} [, {opts}]])',
},
getcmdcomplpat = {
desc = [=[