I've had a look at :h matchparen
, and it doesn't seem to have an option for highlighting the match for the parenthesis immediately before the cursor. In short, this is what I want:
- Matchparen should try to match the paren before the cursor if it exists.
- It should default to the one under the cursor otherwise.
This would be very helpful for writing Lisp. It would be a plus if it did the above in insert mode, but went back to the default behavior in normal mode.
Just to clarify, this does not need to affect the behavior of %
, and preferably should not.