[rust highlights] fix scoped attribute macro matching (#4659)

Without this scoped attribute macros are not matched as macros.
Eg
```
  #[path::macro]
```
pull/4661/head
Anton Romanov 2 years ago committed by GitHub
parent d8e9c85f5e
commit 07d3157273
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -274,7 +274,11 @@
(meta_item
(identifier) @function.macro)
(attr_item
(identifier) @function.macro
[
(identifier) @function.macro
(scoped_identifier
name: (identifier) @function.macro)
]
(token_tree (identifier) @function.macro)?)
(inner_attribute_item) @attribute

Loading…
Cancel
Save