diff options
| author | lmlorca <luismlorca@gmail.com> | 2021-07-13 20:21:47 -0400 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-07-14 10:13:13 +0200 |
| commit | fb5d6e04a87863d01a45dab2cbafec4e2a74822b (patch) | |
| tree | 97de66c39a10594a2e064085ad254eda48ad0c23 /queries/jsx | |
| parent | 29113e6892a46d4afff41417c0be7122a3b97ae6 (diff) | |
add @tag.attribute for html like attributes
Diffstat (limited to 'queries/jsx')
| -rw-r--r-- | queries/jsx/highlights.scm | 1 |
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) |
