Skip to content

Commit 907f32e

Browse files
committed
Fix Rust attribute highlights (helix-editor#3729)
1 parent 92c83ae commit 907f32e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

runtime/queries/rust/highlights.scm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,9 @@
258258
; ---
259259
(meta_item
260260
(identifier) @function.macro)
261+
(attr_item
262+
(identifier) @function.macro
263+
(token_tree (identifier) @function.macro)?)
261264

262265
(inner_attribute_item) @attribute
263266

0 commit comments

Comments
 (0)