aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/vue/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/vue/highlights.scm')
-rw-r--r--runtime/queries/vue/highlights.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/runtime/queries/vue/highlights.scm b/runtime/queries/vue/highlights.scm
new file mode 100644
index 00000000..f90ae429
--- /dev/null
+++ b/runtime/queries/vue/highlights.scm
@@ -0,0 +1,21 @@
+(tag_name) @tag
+(end_tag) @tag
+
+(directive_name) @keyword
+(directive_argument) @constant
+
+(attribute
+ (attribute_name) @attribute
+ (quoted_attribute_value
+ (attribute_value) @string)
+)
+
+(comment) @comment
+
+[
+ "<"
+ ">"
+ "</"
+ "{{"
+ "}}"
+] @punctuation.bracket \ No newline at end of file