diff options
author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2024-05-28 08:51:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-28 08:51:44 -0500 |
commit | 8ba73f0e4cc6c82032a348a1d6c8d794ed150fd7 (patch) | |
tree | 3b20d70fa619488d497fe34e6f398fe481977226 /runtime/lua/vim/lsp/client.lua | |
parent | 90a4b1a59cf0c204cb39ec7789ab8783626e449d (diff) | |
download | rneovim-8ba73f0e4cc6c82032a348a1d6c8d794ed150fd7.tar.gz rneovim-8ba73f0e4cc6c82032a348a1d6c8d794ed150fd7.tar.bz2 rneovim-8ba73f0e4cc6c82032a348a1d6c8d794ed150fd7.zip |
feat(diagnostic): add vim.diagnostic.jump() (#26745)
Deprecate vim.diagnostic.goto_prev() and vim.diagnostic.goto_next() in
favor of a unified vim.diagnostic.jump() interface.
We cannot name the function "goto()" because some of our tooling
(luacheck and stylua) fail to parse it, presumably because "goto" is a
keyword in newer versions of Lua.
vim.diagnostic.jump() also allows moving to a specific diagnostic and
moving by multiple diagnostics at a time (useful for creating mappings
that use v:count).
Diffstat (limited to 'runtime/lua/vim/lsp/client.lua')
0 files changed, 0 insertions, 0 deletions