Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Invert matching pairs highlighting #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MonsieurLanza
Copy link

@MonsieurLanza MonsieurLanza commented Sep 15, 2021

This has been a pain until I changed it : parenthesis under the cursor highlight is not "video inverted" (or negative, or whatever you call it) in normal mode as is the cursor everywhere else.

I almost always confuse it with its matching char, which is inverted.

So this inverts MatchParen highlighting so that parenthesis under the cursor is inverted in normal mode.

First parenthesis is under the cursor in below screen. Without this PR, it would have been the last one.
image

Still a little issue though, it looses the IncSearch inversion when you search for a string starting with a pairing character.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant