Merge pull request #13684 from pohzipohzi/input

doc: add description for cancelreturn option in input()
This commit is contained in:
Björn Linse 2021-04-16 09:47:45 +02:00 committed by GitHub
commit a6504ec339
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5361,9 +5361,8 @@ input({opts})
prompt "" Same as {prompt} in the first form. prompt "" Same as {prompt} in the first form.
default "" Same as {text} in the first form. default "" Same as {text} in the first form.
completion nothing Same as {completion} in the first form. completion nothing Same as {completion} in the first form.
cancelreturn "" Same as {cancelreturn} from cancelreturn "" The value returned when the dialog is
|inputdialog()|. Also works with cancelled.
input().
highlight nothing Highlight handler: |Funcref|. highlight nothing Highlight handler: |Funcref|.
The highlighting set with |:echohl| is used for the prompt. The highlighting set with |:echohl| is used for the prompt.