aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-01-24 19:15:39 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2019-05-26 15:42:16 +0200
commit8ed54bbec3b07d16658547d6bf38a1e804800341 (patch)
tree404fd83325f4d6193b1b3d2c0c8ea7838d95e742 /runtime/doc
parente0348c610c5f84c03f69f638effab27d0c784c7f (diff)
downloadrneovim-8ed54bbec3b07d16658547d6bf38a1e804800341.tar.gz
rneovim-8ed54bbec3b07d16658547d6bf38a1e804800341.tar.bz2
rneovim-8ed54bbec3b07d16658547d6bf38a1e804800341.zip
messages: use proper multiline error message for rpcrequest and API wrappers
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/eval.txt2
-rw-r--r--runtime/doc/ui.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 7682a1a584..3bf75491f4 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -6078,7 +6078,7 @@ nr2char({expr} [, {utf8}]) *nr2char()*
characters. nr2char(0) is a real NUL and terminates the
string, thus results in an empty string.
-nvim_...({...}) *nvim_...()* *eval-api*
+nvim_...({...}) *E5555* *nvim_...()* *eval-api*
Call nvim |api| functions. The type checking of arguments will
be stricter than for most other builtins. For instance,
if Integer is expected, a |Number| must be passed in, a
diff --git a/runtime/doc/ui.txt b/runtime/doc/ui.txt
index 60d55bda61..ca10edccba 100644
--- a/runtime/doc/ui.txt
+++ b/runtime/doc/ui.txt
@@ -702,6 +702,8 @@ events, which the UI must handle.
"echo" |:echo| message
"echomsg" |:echomsg| message
"echoerr" |:echoerr| message
+ "lua_error" Error in |:lua| code
+ "rpc_error" Error response from |rpcrequest()|
"return_prompt" |press-enter| prompt after a multiple messages
"quickfix" Quickfix navigation message
"wmsg" Warning ("search hit BOTTOM", |W10|, …)