diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2025-01-10 11:42:04 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-10 11:42:04 -0800 |
commit | 0717dfbfaf36887dab277527eb0a93bf2182297c (patch) | |
tree | 72e3fe8fd597abde9b7beafdf0eb43659674ccb1 /runtime/doc/deprecated.txt | |
parent | b06f42b5023b2eec576e5bf22cdacd4c1ee4a939 (diff) | |
download | rneovim-0717dfbfaf36887dab277527eb0a93bf2182297c.tar.gz rneovim-0717dfbfaf36887dab277527eb0a93bf2182297c.tar.bz2 rneovim-0717dfbfaf36887dab277527eb0a93bf2182297c.zip |
refactor(api): deprecate nvim_notify #31938
Problem:
The `nvim_notify` API (note: unrelated to `vim.notify()` Lua API) was
not given any real motivation in https://github.com/neovim/neovim/pull/13843
There are, and were, idiomatic and ergonomic alternatives already.
Solution:
Deprecate `nvim_notify`.
Diffstat (limited to 'runtime/doc/deprecated.txt')
-rw-r--r-- | runtime/doc/deprecated.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/doc/deprecated.txt b/runtime/doc/deprecated.txt index dbdb8f541b..4f320aeab3 100644 --- a/runtime/doc/deprecated.txt +++ b/runtime/doc/deprecated.txt @@ -16,6 +16,7 @@ Deprecated features DEPRECATED IN 0.11 *deprecated-0.11* API +• nvim_notify() Use |nvim_echo()| or `nvim_exec_lua("vim.notify(...)", ...)` instead. • nvim_subscribe() Plugins must maintain their own "multicast" channels list. • nvim_unsubscribe() Plugins must maintain their own "multicast" channels list. • nvim_out_write() Use |nvim_echo()|. |