Skip to content

Commit

Permalink
[HTML] Use variable for tag name lookaheads (#4155)
Browse files Browse the repository at this point in the history
This commit uses `{{tag_name_start}}` variable in _HTML (Plain)_
in favor of hard coded patterns to enable extending syntaxes to override it.
  • Loading branch information
deathaxe authored Feb 13, 2025
1 parent d3bb3f6 commit 6ee1b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HTML/HTML (Plain).sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ contexts:
###[ HTML TAGS ]##############################################################

tag-html:
- match: </?(?=[A-Za-z])
- match: </?(?={{tag_name_start}})
scope: punctuation.definition.tag.begin.html
push:
- tag-html-content
Expand Down

0 comments on commit 6ee1b82

Please sign in to comment.