mirror of
https://github.com/neovim/neovim.git
synced 2026-03-01 14:48:26 +00:00
Instead of looping over all captured nodes, just take the end range from the last node in the list. This uses the fact that nodes returned by iter_matches are ordered by their range (earlier to later).