mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +07:00
languages: Include namespace in the outline for C++ (#45794)
Before: <img width="389" height="147" alt="image" src="https://github.com/user-attachments/assets/5412bde6-2f1b-4bb4-a06f-111724597372" /> After: <img width="404" height="139" alt="image" src="https://github.com/user-attachments/assets/8f906245-4c6e-4cf0-bb32-1b47048f46c0" /> Release Notes: - Include namespace symbol in the outline view for C++.
This commit is contained in:
parent
0e5b6a5f3f
commit
6625997e0f
1 changed files with 5 additions and 0 deletions
|
|
@ -9,6 +9,11 @@
|
|||
"(" @context
|
||||
")" @context)) @item
|
||||
|
||||
(namespace_definition
|
||||
"inline"? @context
|
||||
"namespace" @context
|
||||
name: (_) @name) @item
|
||||
|
||||
(type_definition
|
||||
"typedef" @context
|
||||
declarator: (_) @name) @item
|
||||
|
|
|
|||
Loading…
Reference in a new issue