-
Notifications
You must be signed in to change notification settings - Fork 290
Open
Description
System Configuration
Emacs version 30.2
Evil version 1.15.0
I use emacs & evil in X mode
How to reproduce
open a file with any of ( { [
and an unpaired of any of ) } ]
before the correct closing bracket/parenthesis. For example:
general {
# this is a comment with a smile :)
enabled = true
}
Evil will incorrectly recognize the closing bracket/parenthesis of the incorrect type (i.e. {
with )
or any other combination) as the paired bracket/parenthesis, and will treat it as such, e.g. when using %
to jump to the paired bracket/parenthesis
In an unconfigured (vanilla) vim install, vim correctly ignores the closing bracket/parenthesis of the incorrect type, even when not commented out.
Metadata
Metadata
Assignees
Labels
No labels