Path: blob/main/extensions/html/syntaxes/html-derivative.tmLanguage.json
3314 views
{1"information_for_contributors": [2"This file has been converted from https://github.com/textmate/html.tmbundle/blob/master/Syntaxes/HTML%20%28Derivative%29.tmLanguage",3"If you want to provide a fix or improvement, please create a pull request against the original repository.",4"Once accepted there, we are happy to receive an update request."5],6"version": "https://github.com/textmate/html.tmbundle/commit/390c8870273a2ae80244dae6db6ba064a802f407",7"name": "HTML (Derivative)",8"scopeName": "text.html.derivative",9"injections": {10"R:text.html - (comment.block, text.html meta.embedded, meta.tag.*.*.html, meta.tag.*.*.*.html, meta.tag.*.*.*.*.html)": {11"comment": "Uses R: to ensure this matches after any other injections.",12"patterns": [13{14"match": "<",15"name": "invalid.illegal.bad-angle-bracket.html"16}17]18}19},20"patterns": [21{22"include": "text.html.basic#core-minus-invalid"23},24{25"begin": "(</?)(\\w[^\\s<>]*)(?<!/)",26"beginCaptures": {27"1": {28"name": "punctuation.definition.tag.begin.html"29},30"2": {31"name": "entity.name.tag.html"32}33},34"end": "((?: ?/)?>)",35"endCaptures": {36"1": {37"name": "punctuation.definition.tag.end.html"38}39},40"name": "meta.tag.other.unrecognized.html.derivative",41"patterns": [42{43"include": "text.html.basic#attribute"44}45]46}47]48}4950