From b295fd56c8a0706bf9e8e8a39954610f6beea5fd Mon Sep 17 00:00:00 2001 From: Adam Lynch Date: Tue, 30 Jan 2018 21:47:37 -0500 Subject: [PATCH 1/5] Fixes scss highlighting issue --- Vue Component.sublime-syntax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue Component.sublime-syntax b/Vue Component.sublime-syntax index 976aa32..ea22bbc 100644 --- a/Vue Component.sublime-syntax +++ b/Vue Component.sublime-syntax @@ -696,7 +696,7 @@ contexts: - match: (>) captures: 1: meta.tag.style.begin.html punctuation.definition.tag.end.html - embed: scope:source.sass + embed: scope:source.scss escape: (?i)(?= Date: Fri, 2 Feb 2018 11:40:12 -0500 Subject: [PATCH 2/5] Fix to highlight event modifiers in vue directives, Ex. @click.prevent --- Vue Component.sublime-syntax | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vue Component.sublime-syntax b/Vue Component.sublime-syntax index ea22bbc..50eab17 100644 --- a/Vue Component.sublime-syntax +++ b/Vue Component.sublime-syntax @@ -516,10 +516,10 @@ contexts: - include: main vue-directive: - - match: \b(v-[\w-]+)\b + - match: \b(v-[.|:|\w-]+)\b scope: entity.other.attribute-name.html push: js-attribute-value - - match: \B(:|@)([\w-]+)\b + - match: \B(:|@)([.|\w-]+)\b captures: 1: punctuation.definition.attribute.html 2: entity.other.attribute-name.html From 809b314a0edf0dc51bf2f27c4cc10428cd522ab1 Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 28 Feb 2018 09:19:20 -0500 Subject: [PATCH 3/5] Update Vue Component.sublime-syntax --- Vue Component.sublime-syntax | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vue Component.sublime-syntax b/Vue Component.sublime-syntax index 50eab17..ea22bbc 100644 --- a/Vue Component.sublime-syntax +++ b/Vue Component.sublime-syntax @@ -516,10 +516,10 @@ contexts: - include: main vue-directive: - - match: \b(v-[.|:|\w-]+)\b + - match: \b(v-[\w-]+)\b scope: entity.other.attribute-name.html push: js-attribute-value - - match: \B(:|@)([.|\w-]+)\b + - match: \B(:|@)([\w-]+)\b captures: 1: punctuation.definition.attribute.html 2: entity.other.attribute-name.html From ea6bf8703d945c91a512995dd88a3e692503e9e3 Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 28 Feb 2018 09:30:46 -0500 Subject: [PATCH 4/5] Update Vue Component.sublime-syntax.yaml-macros --- Vue Component.sublime-syntax.yaml-macros | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Vue Component.sublime-syntax.yaml-macros b/Vue Component.sublime-syntax.yaml-macros index d6f99a7..22a7698 100644 --- a/Vue Component.sublime-syntax.yaml-macros +++ b/Vue Component.sublime-syntax.yaml-macros @@ -57,10 +57,10 @@ contexts: !merge - include: main vue-directive: - - match: \b(v-[\w-]+)\b + - match: \b(v-[\w\:\.-]+)\b scope: entity.other.attribute-name.html push: js-attribute-value - - match: \B(:|@)([\w-]+)\b + - match: \B(:|@)([\w\.-]+)\b captures: 1: punctuation.definition.attribute.html 2: entity.other.attribute-name.html @@ -235,7 +235,7 @@ contexts: !merge - match: '(>)' captures: 1: meta.tag.style.begin.html punctuation.definition.tag.end.html - embed: scope:source.sass + embed: scope:source.scss escape: (?i)(?= Date: Wed, 28 Feb 2018 09:31:06 -0500 Subject: [PATCH 5/5] Update Vue Component.sublime-syntax --- Vue Component.sublime-syntax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue Component.sublime-syntax b/Vue Component.sublime-syntax index ea22bbc..976aa32 100644 --- a/Vue Component.sublime-syntax +++ b/Vue Component.sublime-syntax @@ -696,7 +696,7 @@ contexts: - match: (>) captures: 1: meta.tag.style.begin.html punctuation.definition.tag.end.html - embed: scope:source.scss + embed: scope:source.sass escape: (?i)(?= 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