custom 'html' tags are in red color. Fixes #56467

This commit is contained in:
Martin Aeschlimann
2018-10-04 11:01:56 +02:00
parent 7ff8bda7e8
commit cfc2a2212d
7 changed files with 576 additions and 484 deletions

View File

@@ -8,7 +8,7 @@
"vscode": "0.10.x"
},
"scripts": {
"update-grammar": "node ../../build/npm/update-grammar.js textmate/html.tmbundle Syntaxes/HTML.plist ./syntaxes/html.tmLanguage.json"
"update-grammar": "node ../../build/npm/update-grammar.js textmate/html.tmbundle Syntaxes/HTML.plist ./syntaxes/html.tmLanguage.json Syntaxes/HTML%20%28Derivative%29.tmLanguage ./syntaxes/html-derivative.tmLanguage.json"
},
"contributes": {
"languages": [
@@ -46,7 +46,6 @@
],
"grammars": [
{
"language": "html",
"scopeName": "text.html.basic",
"path": "./syntaxes/html.tmLanguage.json",
"embeddedLanguages": {
@@ -59,6 +58,21 @@
"tokenTypes": {
"meta.tag string.quoted": "other"
}
},
{
"language": "html",
"scopeName": "text.html.derivative",
"path": "./syntaxes/html-derivative.tmLanguage.json",
"embeddedLanguages": {
"text.html": "html",
"source.css": "css",
"source.js": "javascript",
"source.python": "python",
"source.smarty": "smarty"
},
"tokenTypes": {
"meta.tag string.quoted": "other"
}
}
],
"snippets": [