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

This commit is contained in:
zeertzjq
2025-05-03 08:10:13 +08:00
committed by GitHub
parent 5a2edc483d
commit 862e676efc
2 changed files with 2 additions and 2 deletions

View File

@ -3317,7 +3317,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

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