summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/provider/python.lua
diff options
context:
space:
mode:
authorSergei Slipchenko <faergeek@gmail.com>2025-08-12 02:34:29 +0400
committerGitHub <noreply@github.com>2025-08-11 15:34:29 -0700
commitbc4bddbb214fa92e3689c0e4abb78d21d80223e0 (patch)
tree47ee0c1224aec88544af0f16051aec8ad3358cb6 /runtime/lua/vim/provider/python.lua
parent3c7b698d61c97c63858089e23879f1849e938769 (diff)
fix: don't use logical diagnostic position in `get_prev` and `get_next` #35282
Problem: `vim.diagnostic.get_prev()` / `vim.diagnostic.get_next()` use logical diagnostic positions and consider extmark validity. `vim.diagnostic.get()` only uses original positions and doesn't care about extmark validity. This results in inconsistency between these APIs. Solution: use original positions in `vim.diagnostic.get_prev()` and `vim.diagnostic.get_next()` and don't consider extmark validity to match previous behavior, which is consistent with `vim.diagnostic.get`.
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions