diff --git a/grammars/angularjs.cson b/grammars/angularjs.cson
index 45f35fa..c0d9b4e 100644
--- a/grammars/angularjs.cson
+++ b/grammars/angularjs.cson
@@ -157,7 +157,7 @@
')))\\b\\s*(=?)'
'beginCaptures':
'1':
- 'name': 'entity.other.attribute-name.html.angular'
+ 'name': 'support.other.attribute-name.html.angular'
'end': '(?<=\'|")|(?=\\s|>)'
'name': 'meta.attribute.html.angular'
'patterns': [
@@ -166,7 +166,6 @@
'beginCaptures':
'0':
'name': 'punctuation.definition.string.begin.html.angular'
- 'contentName': 'meta.tag.template.angular'
'end': '"'
'endCaptures':
'0':
@@ -181,7 +180,6 @@
'beginCaptures':
'0':
'name': 'punctuation.definition.string.begin.html.angular'
- 'contentName': 'meta.tag.template.angular'
'end': '\''
'endCaptures':
'0':
diff --git a/spec/grammar-spec.coffee b/spec/grammar-spec.coffee
index 99c296c..a7037f9 100644
--- a/spec/grammar-spec.coffee
+++ b/spec/grammar-spec.coffee
@@ -18,7 +18,7 @@ describe 'directive grammar', ->
{{availability}}
'''
- expect(lines[0][3]).toEqual value: 'ng-repeat', scopes: ['text.html.angular', 'meta.tag.block.any.html', 'meta.attribute.html.angular', 'entity.other.attribute-name.html.angular']
+ expect(lines[0][3]).toEqual value: 'ng-repeat', scopes: ['text.html.angular', 'meta.tag.block.any.html', 'meta.attribute.html.angular', 'support.other.attribute-name.html.angular']
it 'tokenizes ng-src and ng-click attributes inside HTML', ->
lines = grammar.tokenizeLines '''
@@ -27,23 +27,23 @@ describe 'directive grammar', ->
'''
- expect(lines[0][3]).toEqual value: 'ng-repeat', scopes: ['text.html.angular', 'meta.tag.inline.any.html', 'meta.attribute.html.angular', 'entity.other.attribute-name.html.angular']
- expect(lines[1][4]).toEqual value: 'ng-src', scopes: ['text.html.angular', 'meta.tag.inline.any.html', 'meta.attribute.html.angular', 'entity.other.attribute-name.html.angular']
- expect(lines[1][12]).toEqual value: 'ng-click', scopes: ['text.html.angular', 'meta.tag.inline.any.html', 'meta.attribute.html.angular', 'entity.other.attribute-name.html.angular']
+ expect(lines[0][3]).toEqual value: 'ng-repeat', scopes: ['text.html.angular', 'meta.tag.inline.any.html', 'meta.attribute.html.angular', 'support.other.attribute-name.html.angular']
+ expect(lines[1][4]).toEqual value: 'ng-src', scopes: ['text.html.angular', 'meta.tag.inline.any.html', 'meta.attribute.html.angular', 'support.other.attribute-name.html.angular']
+ expect(lines[1][12]).toEqual value: 'ng-click', scopes: ['text.html.angular', 'meta.tag.inline.any.html', 'meta.attribute.html.angular', 'support.other.attribute-name.html.angular']
it 'tokenizes ng-view attribute without value inside HTML', ->
lines = grammar.tokenizeLines '''
'''
- expect(lines[0][3]).toEqual value: 'ng-view', scopes: ['text.html.angular', 'meta.tag.block.any.html', 'meta.attribute.html.angular', 'entity.other.attribute-name.html.angular']
+ expect(lines[0][3]).toEqual value: 'ng-view', scopes: ['text.html.angular', 'meta.tag.block.any.html', 'meta.attribute.html.angular', 'support.other.attribute-name.html.angular']
it 'tokenizes capitalized ng-repeat attribute inside HTML', ->
lines = grammar.tokenizeLines '''
{{availability}}
'''
- expect(lines[0][3]).toEqual value: 'NG-REPEAT', scopes: ['text.html.angular', 'meta.tag.block.any.html', 'meta.attribute.html.angular', 'entity.other.attribute-name.html.angular']
+ expect(lines[0][3]).toEqual value: 'NG-REPEAT', scopes: ['text.html.angular', 'meta.tag.block.any.html', 'meta.attribute.html.angular', 'support.other.attribute-name.html.angular']
it 'tokenizes ng-repeat-start and ng-repeat-end attribute', ->
lines = grammar.tokenizeLines '''
@@ -51,28 +51,28 @@ describe 'directive grammar', ->
'''
- expect(lines[0][3]).toEqual value: 'ng-repeat-start', scopes: ['text.html.angular', 'meta.tag.block.any.html', 'meta.attribute.html.angular', 'entity.other.attribute-name.html.angular']
- expect(lines[1][3]).toEqual value: 'ng-repeat-end', scopes: ['text.html.angular', 'meta.tag.block.any.html', 'meta.attribute.html.angular', 'entity.other.attribute-name.html.angular']
+ expect(lines[0][3]).toEqual value: 'ng-repeat-start', scopes: ['text.html.angular', 'meta.tag.block.any.html', 'meta.attribute.html.angular', 'support.other.attribute-name.html.angular']
+ expect(lines[1][3]).toEqual value: 'ng-repeat-end', scopes: ['text.html.angular', 'meta.tag.block.any.html', 'meta.attribute.html.angular', 'support.other.attribute-name.html.angular']
it 'tokenizes ng-controller attribute in body tag', ->
lines = grammar.tokenizeLines '''
'''
- expect(lines[0][3]).toEqual value: 'ng-controller', scopes: ['text.html.angular', 'meta.tag.inline.any.html', 'meta.attribute.html.angular', 'entity.other.attribute-name.html.angular']
+ expect(lines[0][3]).toEqual value: 'ng-controller', scopes: ['text.html.angular', 'meta.tag.inline.any.html', 'meta.attribute.html.angular', 'support.other.attribute-name.html.angular']
it 'tokenizes ng-s attribute', ->
lines = grammar.tokenizeLines '''