Skip to content

Commit

Permalink
Fix Rust attribute highlights (#3729)
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis authored Sep 7, 2022
1 parent 1fe3273 commit 301f5d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtime/queries/rust/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,9 @@
; ---
(meta_item
(identifier) @function.macro)
(attr_item
(identifier) @function.macro
(token_tree (identifier) @function.macro)?)

(inner_attribute_item) @attribute

Expand Down

0 comments on commit 301f5d7

Please sign in to comment.