diff options
author | Luuk van Baal <luukvbaal@gmail.com> | 2025-01-07 16:38:29 +0100 |
---|---|---|
committer | Luuk van Baal <luukvbaal@gmail.com> | 2025-01-09 13:35:42 +0100 |
commit | 5c92b40b4b173c7d85106689fef811e41994abb0 (patch) | |
tree | 25d99fb1dd9f52175eb100de50a312921c59c50b /runtime/lua/vim/_meta/api.lua | |
parent | ead5683ff9994c0fbfc6c38e0911d9455777550b (diff) | |
download | rneovim-5c92b40b4b173c7d85106689fef811e41994abb0.tar.gz rneovim-5c92b40b4b173c7d85106689fef811e41994abb0.tar.bz2 rneovim-5c92b40b4b173c7d85106689fef811e41994abb0.zip |
feat(api): deprecate nvim_out/err_write(ln)
Diffstat (limited to 'runtime/lua/vim/_meta/api.lua')
-rw-r--r-- | runtime/lua/vim/_meta/api.lua | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/runtime/lua/vim/_meta/api.lua b/runtime/lua/vim/_meta/api.lua index b0651efca4..f6d8153c27 100644 --- a/runtime/lua/vim/_meta/api.lua +++ b/runtime/lua/vim/_meta/api.lua @@ -1111,17 +1111,12 @@ function vim.api.nvim_del_var(name) end --- 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. @@ -1861,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. |