mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-27 19:02:07 +00:00
Update JavaScript outline queries
Add support for exported const declarations in the outline view.
This commit is contained in:
parent
85b049f250
commit
4213cc013c
1 changed files with 7 additions and 0 deletions
|
@ -18,6 +18,13 @@
|
|||
"interface" @context
|
||||
name: (_) @name) @item
|
||||
|
||||
(program
|
||||
(export_statement
|
||||
(lexical_declaration
|
||||
["let" "const"] @context
|
||||
(variable_declarator
|
||||
name: (_) @name) @item)))
|
||||
|
||||
(program
|
||||
(lexical_declaration
|
||||
["let" "const"] @context
|
||||
|
|
Loading…
Reference in a new issue