diff options
author | Blaž Hrastnik | 2022-12-12 08:49:57 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-12-12 08:50:12 +0000 |
commit | bae890d8faa993333d81e662b6f0a6bc5e921a92 (patch) | |
tree | b71d9ebc86a1a3d080bd57bfa3cca4f7918d94bf /runtime/queries/rust | |
parent | 0b960216433956503e9e6fe5220523eb1970eaee (diff) |
Update tree-sitter-scheme
Diffstat (limited to 'runtime/queries/rust')
-rw-r--r-- | runtime/queries/rust/highlights.scm | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/runtime/queries/rust/highlights.scm b/runtime/queries/rust/highlights.scm index 5606e93d..d3c29270 100644 --- a/runtime/queries/rust/highlights.scm +++ b/runtime/queries/rust/highlights.scm @@ -5,8 +5,6 @@ ; overrides are unnecessary. ; ------- - - ; ------- ; Types ; ------- @@ -241,6 +239,14 @@ +(attribute + (identifier) @_macro + arguments: (token_tree (identifier) @constant.numeric.integer) + (#eq? @_macro "derive") +) +@special + + ; ------- ; Functions ; ------- @@ -271,6 +277,7 @@ ; --- ; Macros ; --- + (attribute (identifier) @function.macro) (attribute |