mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +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).