mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-13 05:42:59 +00:00
html: Use @attribute
highlight capture for HTML attributes (#20752)
`@attribute` is the very first query on the https://zed.dev/docs/extensions/languages#syntax-highlighting captures list, we should be using it! This PR changes the highlights queries for HTML to use the `@attribute` capture instead of the `@property` capture for `attribute_name` nodes. Release Notes: - N/A Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
parent
7075f34b47
commit
7fa30f411d
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
(tag_name) @tag
|
||||
(erroneous_end_tag_name) @keyword
|
||||
(doctype) @tag.doctype
|
||||
(attribute_name) @property
|
||||
(attribute_name) @attribute
|
||||
(attribute_value) @string
|
||||
(comment) @comment
|
||||
|
||||
|
|
Loading…
Reference in a new issue