Unnamed repository; edit this file 'description' to name the repository.
| -rw-r--r-- | runtime/queries/vue/highlights.scm | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/runtime/queries/vue/highlights.scm b/runtime/queries/vue/highlights.scm index f90ae429..1d93832f 100644 --- a/runtime/queries/vue/highlights.scm +++ b/runtime/queries/vue/highlights.scm @@ -6,9 +6,13 @@ (attribute (attribute_name) @attribute - (quoted_attribute_value - (attribute_value) @string) -) + [(attribute_value) (quoted_attribute_value)]? @string) + +(directive_attribute + (directive_name) @attribute + (directive_argument)? @attribute + (directive_modifiers)? @attribute + [(attribute_value) (quoted_attribute_value)]? @string) (comment) @comment @@ -18,4 +22,7 @@ "</" "{{" "}}" -] @punctuation.bracket
\ No newline at end of file + "/>" +] @punctuation.bracket +"=" @punctuation.delimiter + |