diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-12-20 22:20:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-20 22:20:17 +0100 |
commit | a6747545be8371e53f16189219ec3950d4b219f7 (patch) | |
tree | 2afcd09f7cfa03394448b9e8009f7a6ecbe8ec3a /runtime | |
parent | 45d1b1c6788a5694850361b5ffa95d63eb75b2f5 (diff) | |
parent | b42d8a43b9f1b3316e73108ebefc4850b1a2c65b (diff) | |
download | rneovim-a6747545be8371e53f16189219ec3950d4b219f7.tar.gz rneovim-a6747545be8371e53f16189219ec3950d4b219f7.tar.bz2 rneovim-a6747545be8371e53f16189219ec3950d4b219f7.zip |
Merge pull request #21441 from bfredl/neoterminfo
refactor(tui): use nvim_echo() for verbose terminfo
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/api.txt | 8 |
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 |