From 301f5d7cf704c2f2e4fc53e258125e39d1845176 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Tue, 6 Sep 2022 22:45:51 -0500 Subject: [PATCH] Fix Rust attribute highlights (#3729) --- runtime/queries/rust/highlights.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runtime/queries/rust/highlights.scm b/runtime/queries/rust/highlights.scm index 39a764a6f1c4..78a7abf01296 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