From afae96e69ad9b34bce3a520f861695658fd108ec Mon Sep 17 00:00:00 2001 From: pohzipohzi Date: Mon, 4 Jan 2021 17:21:00 +0800 Subject: [PATCH] doc: add description for cancelreturn option in input() --- runtime/doc/eval.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 00b1be013a..b13af05766 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -5361,9 +5361,8 @@ input({opts}) prompt "" Same as {prompt} in the first form. default "" Same as {text} in the first form. completion nothing Same as {completion} in the first form. - cancelreturn "" Same as {cancelreturn} from - |inputdialog()|. Also works with - input(). + cancelreturn "" The value returned when the dialog is + cancelled. highlight nothing Highlight handler: |Funcref|. The highlighting set with |:echohl| is used for the prompt.