mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +07:00
languages: Support enum class/struct in outline in C++ (#46121)
Before: <img width="964" height="318" alt="before" src="https://github.com/user-attachments/assets/946b1997-5e63-4d8c-8468-b6a93e73efa3" /> After: <img width="981" height="335" alt="after" src="https://github.com/user-attachments/assets/177e1734-518f-4686-bd04-0015f486c421" /> Release Notes: - Fixed missing enum class struct at outline panel for C++
This commit is contained in:
parent
658d419afc
commit
dea9d13709
1 changed files with 4 additions and 0 deletions
|
|
@ -28,6 +28,10 @@
|
|||
|
||||
(enum_specifier
|
||||
"enum" @context
|
||||
[
|
||||
"class"
|
||||
"struct"
|
||||
]? @context
|
||||
name: (_) @name) @item
|
||||
|
||||
(union_specifier
|
||||
|
|
|
|||
Loading…
Reference in a new issue