From 24be1534dbd062907842601ae1e2e953ba02472e Mon Sep 17 00:00:00 2001 From: Riley Bruins Date: Mon, 18 Dec 2023 08:19:22 -0800 Subject: [PATCH] fix(rust): highlight inline attributes properly --- queries/rust/highlights.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/queries/rust/highlights.scm b/queries/rust/highlights.scm index cc629d5e7..60438bd72 100644 --- a/queries/rust/highlights.scm +++ b/queries/rust/highlights.scm @@ -172,6 +172,7 @@ ; Attribute macros (attribute_item (attribute (identifier) @function.macro)) +(inner_attribute_item (attribute (identifier) @function.macro)) (attribute (scoped_identifier (identifier) @function.macro .))