aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-04-16 09:47:45 +0200
committerGitHub <noreply@github.com>2021-04-16 09:47:45 +0200
commita6504ec3398af114585db1d1134335d838bdb8d9 (patch)
treeb43fee93c3a8c109807e8ee74e2217ca24cce9de
parentfe808f02f69ab8545f343f987534a75b33d9343a (diff)
parentafae96e69ad9b34bce3a520f861695658fd108ec (diff)
downloadrneovim-a6504ec3398af114585db1d1134335d838bdb8d9.tar.gz
rneovim-a6504ec3398af114585db1d1134335d838bdb8d9.tar.bz2
rneovim-a6504ec3398af114585db1d1134335d838bdb8d9.zip
Merge pull request #13684 from pohzipohzi/input
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 cc84bb6c97..cff87b2fed 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.