aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/javascript/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/javascript/highlights.scm')
-rw-r--r--runtime/queries/javascript/highlights.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/queries/javascript/highlights.scm b/runtime/queries/javascript/highlights.scm
index 6163b680..96bad862 100644
--- a/runtime/queries/javascript/highlights.scm
+++ b/runtime/queries/javascript/highlights.scm
@@ -1,3 +1,11 @@
+; JSX
+;----
+
+(jsx_opening_element (identifier) @tag)
+(jsx_closing_element (identifier) @tag)
+(jsx_self_closing_element (identifier) @tag)
+(jsx_attribute (property_identifier) @variable.other.member)
+
; Special identifiers
;--------------------