Sort matches before processing them

This commit is contained in:
Antonio Scandurra 2023-10-02 17:50:52 +02:00
parent d70014cfd0
commit bf5d9e3224
2 changed files with 35 additions and 33 deletions

View file

@ -2,6 +2,9 @@
[(line_comment) (attribute_item)]* @context
.
[
(attribute_item) @collapse
(use_declaration) @collapse
(struct_item
name: (_) @name)