aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
authorMichael Davis2022-09-07 03:45:51 +0000
committerGitHub2022-09-07 03:45:51 +0000
commit301f5d7cf704c2f2e4fc53e258125e39d1845176 (patch)
treea5800aa783969369c8168a2e67c45a8e276c141e /runtime/queries
parent1fe32737faa5dbe9128427197b20be1768298a17 (diff)
Fix Rust attribute highlights (#3729)
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/rust/highlights.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/queries/rust/highlights.scm b/runtime/queries/rust/highlights.scm
index 39a764a6..78a7abf0 100644
--- a/runtime/queries/rust/highlights.scm
+++ b/runtime/queries/rust/highlights.scm
@@ -258,6 +258,9 @@
; ---
(meta_item
(identifier) @function.macro)
+(attr_item
+ (identifier) @function.macro
+ (token_tree (identifier) @function.macro)?)
(inner_attribute_item) @attribute