mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
rust: Add static items to the outline (#15225)
Fixes #15208 Release Notes: - Outline panel for Rust files now includes static items.
This commit is contained in:
parent
10c9e337cf
commit
ec5886a078
@ -59,6 +59,11 @@
|
||||
"const" @context
|
||||
name: (_) @name) @item
|
||||
|
||||
(static_item
|
||||
(visibility_modifier)? @context
|
||||
"static" @context
|
||||
name: (_) @name) @item
|
||||
|
||||
(field_declaration
|
||||
(visibility_modifier)? @context
|
||||
name: (_) @name) @item
|
||||
|
Loading…
Reference in New Issue
Block a user