mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +00:00
docs: add missing change to getcharstr() signature (#33797)
(cherry picked from commit 862e676efc
)
This commit is contained in:
committed by
github-actions[bot]
parent
901eeeb2e6
commit
e5e69f758d
2
runtime/doc/builtin.txt
generated
2
runtime/doc/builtin.txt
generated
@ -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}.
|
||||
|
||||
|
@ -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 = [=[
|
||||
|
Reference in New Issue
Block a user