Skip to content

Commit 19eefe5

Browse files
ayazhafizKeen Yee Liau
authored andcommitted
Apply Angular template grammar syntax only to HTML derivative files
Inject the template syntax grammar to HTML derivative files (the scope given to component HTML files) rather than just base HTML grammar. This prevents the grammar being applied on more specific HTML syntaxes. Closes #667
1 parent 0df313f commit 19eefe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"path": "./syntaxes/template.json",
7676
"scopeName": "template.ng",
7777
"injectTo": [
78-
"text.html"
78+
"text.html.derivative"
7979
],
8080
"embeddedLanguages": {
8181
"text.html": "html",

0 commit comments

Comments
 (0)