Update the PHP grammar

Now it breaks out the html grammar into its own file
This commit is contained in:
Rob Lourens
2017-12-18 20:21:50 +01:00
parent 55382a106f
commit 783a0aafad
5 changed files with 979 additions and 927 deletions

View File

@@ -35,10 +35,15 @@
}
],
"grammars": [
{
"language": "php",
"scopeName": "source.php",
"path": "./syntaxes/php.tmLanguage.json"
},
{
"language": "php",
"scopeName": "text.html.php",
"path": "./syntaxes/php.tmLanguage.json",
"path": "./syntaxes/html.tmLanguage.json",
"embeddedLanguages": {
"text.html": "html",
"source.php": "php",