Emacs: highlight surrounding parentheses

891538d Squash emacs 28 define-minor-mode warning; release 2.0.3

a month ago

9d8f351 Release 2.0.1

2 months ago

#highlight-parentheses.el: Highlights parentheses surrounding point in Emacs


Add the following to your .emacs file:

(require 'highlight-parentheses)

Enable the mode using M-x highlight-parentheses-mode or by adding it to a hook like so:

(add-hook 'prog-mode-hook #'highlight-parentheses-mode)


See how parens are fontified reddish if they contain point.

A screenshot showing highlight-parentheses.el in action

#Questions & Patches

For asking questions, sending feedback, or patches, refer to my public inbox (mailinglist). Please mention the project you are referring to in the subject.


Bugs and requests can be reported here.


highlight-parentheses.el is licensed under the GPLv3 (or later).