mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
Rust: Highlight extern crate aliases
For example `extern crate alloc as myalloc;`
This commit is contained in:
parent
9ceeea5a83
commit
c099dde2a7
@ -376,7 +376,8 @@
|
|||||||
(use_wildcard
|
(use_wildcard
|
||||||
(identifier) @namespace)
|
(identifier) @namespace)
|
||||||
(extern_crate_declaration
|
(extern_crate_declaration
|
||||||
name: (identifier) @namespace)
|
name: (identifier) @namespace
|
||||||
|
alias: (identifier)? @namespace)
|
||||||
(mod_item
|
(mod_item
|
||||||
name: (identifier) @namespace)
|
name: (identifier) @namespace)
|
||||||
(scoped_use_list
|
(scoped_use_list
|
||||||
|
Loading…
Reference in New Issue
Block a user