Fixes #14552: Introduce embeddedLanguages in grammars extension point and adopt it for html and php

This commit is contained in:
Alex Dima
2016-10-27 14:57:12 +02:00
parent 2db37ea17a
commit 80cbf2e25e
4 changed files with 370 additions and 41 deletions

View File

@@ -54,7 +54,14 @@
{
"language": "html",
"scopeName": "text.html.basic",
"path": "./syntaxes/html.json"
"path": "./syntaxes/html.json",
"embeddedLanguages": {
"text.html": "html",
"source.css": "css",
"source.js": "javascript",
"source.python": "python",
"source.smarty": "smarty"
}
}
],
"configuration": {