Leverage embeddings query to collapse syntax nodes if not selected (#3067)
Reverts zed-industries/zed#3049
This commit is contained in:
commit
cf5d89d13c
6 changed files with 481 additions and 107 deletions
|
@ -2,6 +2,7 @@
|
|||
[(line_comment) (attribute_item)]* @context
|
||||
.
|
||||
[
|
||||
|
||||
(struct_item
|
||||
name: (_) @name)
|
||||
|
||||
|
@ -26,3 +27,6 @@
|
|||
name: (_) @name)
|
||||
] @item
|
||||
)
|
||||
|
||||
(attribute_item) @collapse
|
||||
(use_declaration) @collapse
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue