File tree Expand file tree Collapse file tree 2 files changed +6
-18
lines changed Expand file tree Collapse file tree 2 files changed +6
-18
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,9 @@ patterns:
36
36
37
37
- name : comment.block.html
38
38
begin : <!--
39
- end : --\s* >
39
+ end : -->
40
40
captures :
41
41
' 0 ' : {name: punctuation.definition.comment.html}
42
- patterns :
43
- - name : invalid.illegal.bad-comments-or-CDATA.html
44
- match : --
45
42
46
43
- name : meta.tag.sgml.html
47
44
begin : <!
@@ -465,7 +462,7 @@ repository:
465
462
foldingStartMarker : |-
466
463
(?x)
467
464
(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)\b.*?>
468
- |<!--(?!.*--\s* >)
465
+ |<!--(?!.*-->)
469
466
|^<!--\ \#tminclude\ (?>.*?-->)$
470
467
|<\?(?:php)?.*\b(if|for(each)?|while)\b.+:
471
468
|\{\{?(if|foreach|capture|literal|foreach|php|section|strip)
@@ -475,7 +472,7 @@ foldingStartMarker: |-
475
472
foldingStopMarker : |-
476
473
(?x)
477
474
(</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)>
478
- |^(?!.*?<!--).*?--\s* >
475
+ |^(?!.*?<!--).*?-->
479
476
|^<!--\ end\ tminclude\ -->$
480
477
|<\?(?:php)?.*\bend(if|for(each)?|while)\b
481
478
|\{\{?/(if|foreach|capture|literal|foreach|php|section|strip)
Original file line number Diff line number Diff line change 9
9
<key >foldingStartMarker </key >
10
10
<string >(?x)
11
11
(< (?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)\b.*?>
12
- |< !--(?!.*--\s* > )
12
+ |< !--(?!.*--> )
13
13
|^< !--\ \#tminclude\ (?> .*?--> )$
14
14
|< \?(?:php)?.*\b(if|for(each)?|while)\b.+:
15
15
|\{\{?(if|foreach|capture|literal|foreach|php|section|strip)
18
18
<key >foldingStopMarker </key >
19
19
<string >(?x)
20
20
(< /(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)>
21
- |^(?!.*?< !--).*?--\s* >
21
+ |^(?!.*?< !--).*?-->
22
22
|^< !--\ end\ tminclude\ --> $
23
23
|< \?(?:php)?.*\bend(if|for(each)?|while)\b
24
24
|\{\{?/(if|foreach|capture|literal|foreach|php|section|strip)
138
138
</dict >
139
139
</dict >
140
140
<key >end </key >
141
- <string >--\s* > </string >
141
+ <string >--> </string >
142
142
<key >name </key >
143
143
<string >comment.block.html </string >
144
- <key >patterns </key >
145
- <array >
146
- <dict >
147
- <key >match </key >
148
- <string >-- </string >
149
- <key >name </key >
150
- <string >invalid.illegal.bad-comments-or-CDATA.html </string >
151
- </dict >
152
- </array >
153
144
</dict >
154
145
<dict >
155
146
<key >begin </key >
You can’t perform that action at this time.
0 commit comments