mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-09-11 16:07:00 +03:00
[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
@ -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…
Reference in New Issue
Block a user