From 364df7f9b1da12e2f5034efec04b91acb930fa76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Acid=20Chicken=20=28=E7=A1=AB=E9=85=B8=E9=B6=8F=29?= Date: Sat, 21 Aug 2021 06:30:02 +0900 Subject: [PATCH] fix: use HTML Living Standard comment syntax --- vue.YAML-tmLanguage | 9 +++------ vue.tmLanguage | 15 +++------------ 2 files changed, 6 insertions(+), 18 deletions(-) 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) ( - |^(?!.*? |^$ |<\?(?: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 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy