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

Without this scoped attribute macros are not matched as macros.
Eg
```
  #[path::macro]
```
This commit is contained in:
Anton Romanov 2022-11-08 11:41:09 -08:00 committed by GitHub
parent d8e9c85f5e
commit 07d3157273
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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