diff options
| author | Sergei Slipchenko <faergeek@gmail.com> | 2025-07-28 09:24:10 +0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-28 05:24:10 +0000 |
| commit | 7a051a4c389452b4955c22e3c29071433e01905a (patch) | |
| tree | c9857e42653531e380e70d948b94613828d28158 /runtime/lua/vim/provider/python.lua | |
| parent | 5151f635ca299dcb7aeb7e34d7c01fba07108b88 (diff) | |
| download | rneovim-7a051a4c389452b4955c22e3c29071433e01905a.tar.gz rneovim-7a051a4c389452b4955c22e3c29071433e01905a.tar.bz2 rneovim-7a051a4c389452b4955c22e3c29071433e01905a.zip | |
fix(diagnostics): avoid jumping to diagnostics in deleted ranges #35088
Problem:
diagnostic extmark used for positioning continues to exist after
deleting a range containing it, so it's possible to jump to a
next/previous diagnositc, which isn't visible in any way, including not
being shown via `open_float`.
Solution:
enable `invalidate` flag when setting an extmark to be able to filter
out diagnostics based on `invalid` flag when looking for next/previous
diagnostic to jump to.
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions