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.
This commit is contained in:
bfredl
2022-12-16 13:50:12 +01:00
parent f04087d8ba
commit b42d8a43b9
10 changed files with 140 additions and 59 deletions

View File

@@ -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