diff --git a/vue.YAML-tmLanguage b/vue.YAML-tmLanguage
index 3c8888f..2a36977 100644
--- a/vue.YAML-tmLanguage
+++ b/vue.YAML-tmLanguage
@@ -36,12 +36,9 @@ patterns:
- name: comment.block.html
begin:
captures:
'0': {name: punctuation.definition.comment.html}
- patterns:
- - name: invalid.illegal.bad-comments-or-CDATA.html
- match: --
- name: meta.tag.sgml.html
begin:
- |)
|^)$
|<\?(?:php)?.*\b(if|for(each)?|while)\b.+:
|\{\{?(if|foreach|capture|literal|foreach|php|section|strip)
@@ -475,7 +472,7 @@ foldingStartMarker: |-
foldingStopMarker: |-
(?x)
((?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)>
- |^(?!.*?
|^$
|<\?(?:php)?.*\bend(if|for(each)?|while)\b
|\{\{?/(if|foreach|capture|literal|foreach|php|section|strip)
diff --git a/vue.tmLanguage b/vue.tmLanguage
index a8bdbeb..de0d99d 100644
--- a/vue.tmLanguage
+++ b/vue.tmLanguage
@@ -9,7 +9,7 @@
foldingStartMarker
(?x)
(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)\b.*?>
-|<!--(?!.*--\s*>)
+|<!--(?!.*-->)
|^<!--\ \#tminclude\ (?>.*?-->)$
|<\?(?:php)?.*\b(if|for(each)?|while)\b.+:
|\{\{?(if|foreach|capture|literal|foreach|php|section|strip)
@@ -18,7 +18,7 @@
foldingStopMarker
(?x)
(</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)>
-|^(?!.*?<!--).*?--\s*>
+|^(?!.*?<!--).*?-->
|^<!--\ end\ tminclude\ -->$
|<\?(?:php)?.*\bend(if|for(each)?|while)\b
|\{\{?/(if|foreach|capture|literal|foreach|php|section|strip)
@@ -138,18 +138,9 @@
end
- --\s*>
+ -->
name
comment.block.html
- patterns
-
-
- match
- --
- name
- invalid.illegal.bad-comments-or-CDATA.html
-
-
begin