fix: prefer #eq? for checking equality with one string

This commit is contained in:
Riley Bruins 2025-10-29 17:32:07 -07:00
parent 4a9f57971a
commit b141b80dd1
9 changed files with 19 additions and 15 deletions

View file

@ -266,7 +266,7 @@
(begin
name: (curly_group_text
(text) @label)
(#any-of? @label "frame"))
(#eq? @label "frame"))
.
(curly_group
(_) @markup.heading))