Reputation: 2611
I'd like highlighting of the matching HTML tag when the cursor is on the specific tag.
I'm looking for something like highlight matching parentheses
in options
menu.
I've checked the question How can I highlight unmatched HTML tags in Emacs? which is close to what I search but I want highlight of all the matching tags (where the cursor is), not only the errors.
Upvotes: 3
Views: 1623
Reputation: 44
web-mode provides this. You can enable with
web-mode-toggle-current-element-highlight
You can add (setq web-mode-enable-current-element-highlight t)
into your web-mode-hook to make this behavior persistent.
Upvotes: 2
Reputation: 4029
web-mode provides this. You can enable with web-mode-toggle-current-element-highlight
Upvotes: 7