diff --git a/Vue Component.sublime-syntax b/Vue Component.sublime-syntax index 07248dc..eae3278 100644 --- a/Vue Component.sublime-syntax +++ b/Vue Component.sublime-syntax @@ -663,7 +663,7 @@ contexts: - 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 diff --git a/Vue Component.sublime-syntax.yaml-macros b/Vue Component.sublime-syntax.yaml-macros index 732b88a..04f7d70 100644 --- a/Vue Component.sublime-syntax.yaml-macros +++ b/Vue Component.sublime-syntax.yaml-macros @@ -42,7 +42,7 @@ contexts: !merge - 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