summaryrefslogtreecommitdiff
path: root/queries/jsx/highlights.scm
diff options
context:
space:
mode:
authorlmlorca <luismlorca@gmail.com>2021-07-13 20:21:47 -0400
committerStephan Seitz <stephan.lauf@yahoo.de>2021-07-14 10:13:13 +0200
commitfb5d6e04a87863d01a45dab2cbafec4e2a74822b (patch)
tree97de66c39a10594a2e064085ad254eda48ad0c23 /queries/jsx/highlights.scm
parent29113e6892a46d4afff41417c0be7122a3b97ae6 (diff)
add @tag.attribute for html like attributes
Diffstat (limited to 'queries/jsx/highlights.scm')
-rw-r--r--queries/jsx/highlights.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/queries/jsx/highlights.scm b/queries/jsx/highlights.scm
index 78c25170..8904c86c 100644
--- a/queries/jsx/highlights.scm
+++ b/queries/jsx/highlights.scm
@@ -4,6 +4,7 @@
close_tag: (jsx_closing_element ["<" "/" ">"] @tag.delimiter))
(jsx_self_closing_element ["/" ">" "<"] @tag.delimiter)
(jsx_fragment [">" "<" "/"] @tag.delimiter)
+(jsx_attribute (property_identifier) @tag.attribute)
(jsx_opening_element
name: (identifier) @tag)