|
23 | 23 | 'name': 'meta.tag.block.any.html' |
24 | 24 | } |
25 | 25 | { |
26 | | - 'begin': ''' |
27 | | - (</?)((?i: |
28 | | - address|article|aside|applet| |
29 | | - blockquote|center| |
30 | | - dir|div|dl|dt|dd| |
31 | | - fieldset|footer|form|frame|frameset| |
32 | | - header|hr|h1|h2|h3|h4|h5|h6| |
33 | | - iframe| |
34 | | - menu|nav|noframes| |
35 | | - object|ol| |
36 | | - p|pre| |
37 | | - section|ul |
38 | | - )\\b) |
39 | | - ''' |
| 26 | + 'begin': '(</?)((?i:' + |
| 27 | + 'address|article|aside|applet|' + |
| 28 | + 'blockquote|center|' + |
| 29 | + 'dir|div|dl|dt|dd|' + |
| 30 | + 'fieldset|footer|form|frame|frameset|' + |
| 31 | + 'header|hr|h1|h2|h3|h4|h5|h6|' + |
| 32 | + 'iframe|' + |
| 33 | + 'menu|nav|noframes|' + |
| 34 | + 'object|ol|' + |
| 35 | + 'p|pre|' + |
| 36 | + 'section|ul' + |
| 37 | + ')\\b)' |
40 | 38 | 'beginCaptures': |
41 | 39 | '1': |
42 | 40 | 'name': 'punctuation.definition.tag.begin.html' |
|
53 | 51 | ] |
54 | 52 | } |
55 | 53 | { |
56 | | - 'begin': ''' |
57 | | - (</?)((?i: |
58 | | - a|abbr|acronym|area| |
59 | | - b|base|basefont|bdo|big|body|br|button| |
60 | | - caption|cite|code|col|colgroup| |
61 | | - del|dfn| |
62 | | - em|font| |
63 | | - head|html| |
64 | | - i|img|input|ins|isindex| |
65 | | - kbd| |
66 | | - label|legend|li|link| |
67 | | - map|meta| |
68 | | - noscript| |
69 | | - optgroup|option| |
70 | | - param|q| |
71 | | - s|samp|script|select|small|span|strike|strong|style|sub|sup| |
72 | | - table|tbody|td|textarea|tfoot|th|thead|title|tr|tt| |
73 | | - u|var |
74 | | - )\\b) |
75 | | - ''' |
| 54 | + 'begin': '(</?)((?i:'+ |
| 55 | + 'a|a|abbr|acronym|area|' + |
| 56 | + 'b|base|basefont|bdo|big|body|br|button|' + |
| 57 | + 'caption|cite|code|col|colgroup|' + |
| 58 | + 'del|dfn|' + |
| 59 | + 'em|font|' + |
| 60 | + 'head|html|' + |
| 61 | + 'i|img|input|ins|isindex|' + |
| 62 | + 'kbd|' + |
| 63 | + 'label|legend|li|link|' + |
| 64 | + 'map|meta|' + |
| 65 | + 'noscript|' + |
| 66 | + 'optgroup|option|' + |
| 67 | + 'param|q|' + |
| 68 | + 's|samp|script|select|small|span|strike|strong|style|sub|sup|' + |
| 69 | + 'table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|' + |
| 70 | + 'u|var' + |
| 71 | + ')\\b)' |
76 | 72 | 'beginCaptures': |
77 | 73 | '1': |
78 | 74 | 'name': 'punctuation.definition.tag.begin.html' |
|
106 | 102 | { 'include': 'source.js' } |
107 | 103 | ] |
108 | 104 | 'angular-directive-attribute': |
109 | | - 'begin': ''' |
110 | | - \\b((?i:ng-( |
111 | | - animate-children|app| |
112 | | - bind|bind-html|bind-template|blur| |
113 | | - change|checked|class|class-even|class-odd|click|cloak|controller|copy|csp|cut| |
114 | | - dblclick|disabled| |
115 | | - focus|form| |
116 | | - hide|href| |
117 | | - if|include|init| |
118 | | - keydown|keypress|keyup| |
119 | | - list| |
120 | | - messages|message|model|model-options|mousedown|mouseenter|mouseleave|mousemove|mouseover|mouseup| |
121 | | - non-bindable| |
122 | | - open|options| |
123 | | - paste|pluralize| |
124 | | - readonly|repeat|repeat-start|repeat-end| |
125 | | - selected|show|src|srcset|style|strict-di|submit|switch|switch-when|switch-default| |
126 | | - transclude| |
127 | | - value| |
128 | | - swipe-left|swipe-right|view| |
129 | | - )))\\b\\s*(=?) |
130 | | - ''' |
| 105 | + 'begin': '\\b((?i:ng-(' + |
| 106 | + 'animate-children|app|' + |
| 107 | + 'bind|bind-html|bind-template|blur|' + |
| 108 | + 'change|checked|class|class-even|class-odd|click|cloak|controller|copy|csp|cut|' + |
| 109 | + 'dblclick|disabled|' + |
| 110 | + 'focus|form|' + |
| 111 | + 'hide|href|' + |
| 112 | + 'if|include|init|' + |
| 113 | + 'keydown|keypress|keyup|' + |
| 114 | + 'list|' + |
| 115 | + 'messages|message|model|model-options|mousedown|mouseenter|mouseleave|mousemove|mouseover|mouseup|' + |
| 116 | + 'non-bindable|' + |
| 117 | + 'open|options|' + |
| 118 | + 'paste|pluralize|' + |
| 119 | + 'readonly|repeat|repeat-start|repeat-end|' + |
| 120 | + 'selected|show|src|srcset|style|strict-di|submit|switch|switch-when|switch-default|' + |
| 121 | + 'transclude|' + |
| 122 | + 'value|' + |
| 123 | + 'swipe-left|swipe-right|view|' + |
| 124 | + ')))\\b\\s*(=?)' |
131 | 125 | 'beginCaptures': |
132 | 126 | '1': |
133 | 127 | 'name': 'entity.other.attribute-name.html.angular' |
|
0 commit comments