summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-05-19 19:48:18 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-05-19 19:48:18 +0200
commitf29266d8580c97b87750c004f35761deb48271a6 (patch)
tree9e891dd9c8dc27e47f4f95489c09f584d315c70d /plugin
parent80f74b2f218ea622be2cdf791494b4d5f91bbd06 (diff)
downloadnvim-config-f29266d8580c97b87750c004f35761deb48271a6.tar.gz
nvim-config-f29266d8580c97b87750c004f35761deb48271a6.zip
fix(nvim): narrow checklist guard to match item_range contract
- item_range() returns nil or a full (start_row, end_row) pair; guards checked only start_row, leaving end_row integer|nil into nvim_buf_{get,set}_lines. - Guard now 'if not (start_row and end_row)' in check/uncheck; lua_ls narrows both, 4 param-type-mismatch warnings clear. - Behavior unchanged (end_row always set when start_row was); tested.
Diffstat (limited to 'plugin')
0 files changed, 0 insertions, 0 deletions