Emacs matching tags highlighting

可紊 提交于 2019-12-19 05:46:49

问题


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!


回答1:


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



来源:https://stackoverflow.com/questions/7784334/emacs-matching-tags-highlighting

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!