Skip to content

Commit e95d846

Browse files
JeanMecheatscott
authored andcommitted
fix(vscode-extension): restore correct highlighting
This is a regression introduced by #66891 when trying to support commenting attribute via the language service extension
1 parent de56d74 commit e95d846

File tree

3 files changed

+118
-275
lines changed

3 files changed

+118
-275
lines changed

vscode-ng-language-service/syntaxes/src/template-tag.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,8 @@ export const TemplateTag: GrammarDefinition = {
1818
{include: '#eventBinding'},
1919
{include: '#templateBinding'},
2020
{include: '#standardAttribute'},
21-
{include: '#other'},
2221
],
2322
repository: {
24-
other: {
25-
match: /\s+/,
26-
name: 'template.tag.ng',
27-
},
2823
standardAttribute: {
2924
begin: /([-_a-zA-Z0-9.$:]+)(=)(["'])/,
3025
beginCaptures: {

vscode-ng-language-service/syntaxes/template-tag.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,9 @@
1919
},
2020
{
2121
"include": "#standardAttribute"
22-
},
23-
{
24-
"include": "#other"
2522
}
2623
],
2724
"repository": {
28-
"other": {
29-
"match": "\\s+",
30-
"name": "template.tag.ng"
31-
},
3225
"standardAttribute": {
3326
"begin": "([-_a-zA-Z0-9.$:]+)(=)([\"'])",
3427
"beginCaptures": {

0 commit comments

Comments
 (0)