diff options
| author | Lewis Russell <lewis6991@gmail.com> | 2026-09-24 13:18:46 +0100 |
|---|---|---|
| committer | Lewis Russell <me@lewisr.dev> | 2026-09-25 10:28:19 +0100 |
| commit | e73c039515357e5abece8249bf91d25c333e2b13 (patch) | |
| tree | f460036132384625b0906ab2b90db6c15c31f7f4 /runtime/lua/vim/provider/python.lua | |
| parent | 20fa4b1be00e16242cdf9e977846370eeed2ec54 (diff) | |
| download | rneovim-e73c039515357e5abece8249bf91d25c333e2b13.tar.gz rneovim-e73c039515357e5abece8249bf91d25c333e2b13.tar.bz2 rneovim-e73c039515357e5abece8249bf91d25c333e2b13.zip | |
fix(diagnostic): default absent quickfix coordinates
Quickfix entries can omit their start and end positions. Default absent
start coordinates to the first position and absent end coordinates to
the start, avoiding arithmetic and comparisons on nil. Cover both cases
in the conversion tests.
AI-assisted
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions