vim-monotone icon indicating copy to clipboard operation
vim-monotone copied to clipboard

Invert matching pairs highlighting

Open MonsieurLanza opened this issue 3 years ago • 0 comments

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.

MonsieurLanza avatar Sep 15 '21 13:09 MonsieurLanza