[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:
parent
d8e9c85f5e
commit
07d3157273
1 changed files with 5 additions and 1 deletions
|
@ -274,7 +274,11 @@
|
|||
(meta_item
|
||||
(identifier) @function.macro)
|
||||
(attr_item
|
||||
[
|
||||
(identifier) @function.macro
|
||||
(scoped_identifier
|
||||
name: (identifier) @function.macro)
|
||||
]
|
||||
(token_tree (identifier) @function.macro)?)
|
||||
|
||||
(inner_attribute_item) @attribute
|
||||
|
|
Loading…
Reference in a new issue