-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Highlighting matching parenthese doesn't work after scrolling viewport #776
Comments
Confirmed in vim 7.4.1752 |
The matching parentheses is only highlighted between |
I don't really know why this was closed. |
The match highlighting is only updated when moving the cursor, not when scrolling. There is no autocommand for scrolling, thus it can't really be changed easily. |
@brammool How hard would it be to add autocommand for scrolling? Do you believe it can be reasonably done? I've never done any Vim development, but I could try. |
W wrote:
This would be when curwin->w_topline changes. Unfortunately this Maybe it works to do it like CursorMoved. That is in main_loop(). Like CursorMoved has CursorMovedI, we may need a separate event for hundred-and-one symptoms of being an internet addict: /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \ |
Steps to reproduce:
Expected result:
Vim version:
The text was updated successfully, but these errors were encountered: