aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/func.lua
diff options
context:
space:
mode:
authorJongwook Choi <wookayin@gmail.com>2024-05-17 19:16:09 -0400
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2024-05-20 00:02:51 +0200
commit9a43ec13e6f1c7b52bab3304d855c680cc3ed7bd (patch)
tree857d16b958281db001378dab18d0779093a22b02 /runtime/lua/vim/func.lua
parent0f4f7d32ce5d6d3b751b0b01455770f3b72531b9 (diff)
downloadrneovim-9a43ec13e6f1c7b52bab3304d855c680cc3ed7bd.tar.gz
rneovim-9a43ec13e6f1c7b52bab3304d855c680cc3ed7bd.tar.bz2
rneovim-9a43ec13e6f1c7b52bab3304d855c680cc3ed7bd.zip
fix(diagnostic): show backtrace for deprecation warnings
Problem: On nvim 11.0-dev, deprecation warnings due to an use of hard-deprecated APIs such as: - `vim.diagnostic.disable()` - `vim.diagnostic.is_disabled()` etc. are not accompanied by backtrace information. It makes difficult for users to figure out which lines or which plugins are still using deprecated APIs. Solution: use `backtrace = true` in vim.deprecate() call.
Diffstat (limited to 'runtime/lua/vim/func.lua')
0 files changed, 0 insertions, 0 deletions