aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/api_keysets.lua
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-12-25 16:31:38 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-12-25 21:20:09 +0100
commit0a598c13b1863ba1aff378027c4376e3ab7048ee (patch)
tree3ea92885d914b01c590db5c245476ed854504be4 /runtime/lua/vim/_meta/api_keysets.lua
parent343436f97db859fb253cf83b1d5aaef36c182922 (diff)
downloadrneovim-0a598c13b1863ba1aff378027c4376e3ab7048ee.tar.gz
rneovim-0a598c13b1863ba1aff378027c4376e3ab7048ee.tar.bz2
rneovim-0a598c13b1863ba1aff378027c4376e3ab7048ee.zip
feat(vim.deprecate): only issue warning if neovim version is high enough
As specified by MAINTAIN.md, features should be soft deprecated at first (meaning no warnings) to give people a chance to adjust. The problem with this approach is that deprecating a feature becomes harder than usual as during the soft deprecation period you need to remember not to issue a warning, and during the hard deprecation period you need to remember to start issuing a warning. This behavior is only enforced if the `plugin` parameter is `nil` as plugins may not want this specific behavior.
Diffstat (limited to 'runtime/lua/vim/_meta/api_keysets.lua')
0 files changed, 0 insertions, 0 deletions