aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpohzipohzi <poh.zihow@gmail.com>2021-01-04 17:21:00 +0800
committerpohzipohzi <poh.zihow@gmail.com>2021-04-08 17:56:31 +0800
commitafae96e69ad9b34bce3a520f861695658fd108ec (patch)
tree0a68ea191ac535ab845f5aec81c6ddc344f0de60
parent48e80572855042ceb1d9191bc11f8b60275426eb (diff)
downloadrneovim-afae96e69ad9b34bce3a520f861695658fd108ec.tar.gz
rneovim-afae96e69ad9b34bce3a520f861695658fd108ec.tar.bz2
rneovim-afae96e69ad9b34bce3a520f861695658fd108ec.zip
doc: add description for cancelreturn option in input()
-rw-r--r--runtime/doc/eval.txt5
1 files 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.