aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-12-16 13:50:12 +0100
committerbfredl <bjorn.linse@gmail.com>2022-12-20 21:43:42 +0100
commitb42d8a43b9f1b3316e73108ebefc4850b1a2c65b (patch)
tree408d480448e23225291092952c789888e2b60f25 /runtime
parentf04087d8ba0623d1946eefe0f71d5f3e92d58c14 (diff)
downloadrneovim-b42d8a43b9f1b3316e73108ebefc4850b1a2c65b.tar.gz
rneovim-b42d8a43b9f1b3316e73108ebefc4850b1a2c65b.tar.bz2
rneovim-b42d8a43b9f1b3316e73108ebefc4850b1a2c65b.zip
refactor(tui): use nvim_echo() for verbose terminfo
This is needed for #18375 for the obvious reasons. note: verbose_terminfo_event is only temporarily needed until the full TUI process refactor is merged.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/api.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index 8a33fc58a3..3cd4578750 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -717,7 +717,7 @@ nvim_del_var({name}) *nvim_del_var()*
Parameters: ~
• {name} Variable name
-nvim_echo({chunks}, {history}, {opts}) *nvim_echo()*
+nvim_echo({chunks}, {history}, {*opts}) *nvim_echo()*
Echo a message.
Parameters: ~
@@ -725,7 +725,11 @@ nvim_echo({chunks}, {history}, {opts}) *nvim_echo()*
chunk with specified highlight. `hl_group` element can be
omitted for no highlight.
• {history} if true, add to |message-history|.
- • {opts} Optional parameters. Reserved for future use.
+ • {opts} Optional parameters.
+ • verbose: Message was printed as a result of 'verbose'
+ option if Nvim was invoked with -V3log_file, the message
+ will be redirected to the log_file and surpressed from
+ direct output.
nvim_err_write({str}) *nvim_err_write()*
Writes a message to the Vim error buffer. Does not append "\n", the