Fingolfin
Fingolfin

Reputation: 5533

Parenthesis highlighting - emacs

I want to have the matching bracket\parenthesis highlighted when I have the cursor over the closing one. I got the parenthesis highlighting using (show-paren-mode t) but this seems to highlight the parenthesis only when I am over the opening side; how do I fix that?

Using Gnu Emacs from the terminal.

If I can the same functionality that comes by default in vim that'd be really good because it does the above and avoids the latency (highlights right away, (setq show-paren-delay 0) seems to do nothing)

Upvotes: 1

Views: 974

Answers (1)

Fingolfin
Fingolfin

Reputation: 5533

show-paren-mode does that, the difference from vim's behaivor is that it'll highlight the matching opening parenthesis if the cursor is AFTER the closing parenthesis instead of highlighting it when the cursor is at closing one.

Upvotes: 2

Related Questions