Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs matching tags highlighting

When Paren Match Highlighting (in the Options menu) is enabled, it nicely highlights matched parentheses. Is there something like this but for XML tags? For example, if I had:

<para> lksjdflksdjfksdjf </para>

it would highlight both tags if my point was anywhere inside one of the tags (even including the less-than and greater-than signs).

Thanks for help!

like image 778
mart1n Avatar asked Oct 16 '11 12:10

mart1n


1 Answers

Mike Spindel has written a minor mode, hl-tags-mode, which provides this feature.

like image 168
Luke Girvin Avatar answered Oct 24 '22 01:10

Luke Girvin