diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2025-01-09 06:36:29 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-09 06:36:29 -0800 |
commit | 5135a232199047e473e3941b0b5a738c77fbecb5 (patch) | |
tree | c6f964678048febab756f825e6cf76470017d89c /runtime/lua/vim/_meta/api.lua | |
parent | dcaf8bef08d094889ef5fac24d123871dd0e6a6f (diff) | |
parent | 5c92b40b4b173c7d85106689fef811e41994abb0 (diff) | |
download | rneovim-5135a232199047e473e3941b0b5a738c77fbecb5.tar.gz rneovim-5135a232199047e473e3941b0b5a738c77fbecb5.tar.bz2 rneovim-5135a232199047e473e3941b0b5a738c77fbecb5.zip |
Merge #31900 from luukvbaal/nvim_echo
Diffstat (limited to 'runtime/lua/vim/_meta/api.lua')
-rw-r--r-- | runtime/lua/vim/_meta/api.lua | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/runtime/lua/vim/_meta/api.lua b/runtime/lua/vim/_meta/api.lua index 7297c8ad38..f6d8153c27 100644 --- a/runtime/lua/vim/_meta/api.lua +++ b/runtime/lua/vim/_meta/api.lua @@ -1104,22 +1104,19 @@ function vim.api.nvim_del_var(name) end --- `hl_group` element can be omitted for no highlight. --- @param history boolean if true, add to `message-history`. --- @param opts vim.api.keyset.echo_opts Optional parameters. +--- - err: Treat the message like `:echoerr`. Omitted `hlgroup` +--- uses `hl-ErrorMsg` instead. --- - verbose: Message is printed as a result of 'verbose' option. --- If Nvim was invoked with -V3log_file, the message will be --- redirected to the log_file and suppressed from direct output. function vim.api.nvim_echo(chunks, history, opts) end ---- Writes a message to the Vim error buffer. Does not append "\n", the ---- message is buffered (won't display) until a linefeed is written. ---- ---- @param str string Message +--- @deprecated +--- @param str string function vim.api.nvim_err_write(str) end ---- Writes a message to the Vim error buffer. Appends "\n", so the buffer is ---- flushed (and displayed). ---- ---- @see vim.api.nvim_err_write ---- @param str string Message +--- @deprecated +--- @param str string function vim.api.nvim_err_writeln(str) end --- Evaluates a Vimscript `expression`. Dicts and Lists are recursively expanded. @@ -1859,10 +1856,8 @@ function vim.api.nvim_open_term(buffer, opts) end --- @return integer # Window handle, or 0 on error function vim.api.nvim_open_win(buffer, enter, config) end ---- Writes a message to the Vim output buffer. Does not append "\n", the ---- message is buffered (won't display) until a linefeed is written. ---- ---- @param str string Message +--- @deprecated +--- @param str string function vim.api.nvim_out_write(str) end --- Parse command line. |