mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
Fixes #14552: Introduce embeddedLanguages in grammars extension point and adopt it for html and php
This commit is contained in:
@@ -19,7 +19,16 @@
|
||||
"grammars": [{
|
||||
"language": "php",
|
||||
"scopeName": "text.html.php",
|
||||
"path": "./syntaxes/php.json"
|
||||
"path": "./syntaxes/php.json",
|
||||
"embeddedLanguages": {
|
||||
"text.html": "html",
|
||||
"source.php": "php",
|
||||
"source.sql": "sql",
|
||||
"text.xml": "xml",
|
||||
"source.js": "javascript",
|
||||
"source.json": "json",
|
||||
"source.css": "css"
|
||||
}
|
||||
}],
|
||||
"snippets": [{
|
||||
"language": "php",
|
||||
|
||||
Reference in New Issue
Block a user