aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/provider/python.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2026-09-24 13:18:46 +0100
committerLewis Russell <me@lewisr.dev>2026-09-25 10:28:19 +0100
commite73c039515357e5abece8249bf91d25c333e2b13 (patch)
treef460036132384625b0906ab2b90db6c15c31f7f4 /runtime/lua/vim/provider/python.lua
parent20fa4b1be00e16242cdf9e977846370eeed2ec54 (diff)
downloadrneovim-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