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:
1 parent
10c9e337cf
commit
ec5886a078
1 file changed
+5
@@ -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
|
||||
Reference in new issue
Block a user