vim: Adjust surrounding_markers method (#14752)
At present, when calculating some ranges, we take the `tuple_windows` to iterate forward, which will cause some problems when the cursor is being front, because `tuple_windows` iteration cannot iterate to the very beginning, so there will be some cases that cannot be calculated, adjust this method, and now it can calculate more perfectly, and the execution speed is about the same Release Notes: - N/A
H
Hans committed
d0446857069293c45555b0102ea9d9ebe657cfb7
Parent: 0496d0d
Committed by GitHub <noreply@github.com>
on 7/18/2024, 5:53:51 PM