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

This commit is contained in:
Riley Bruins 2025-10-29 18:51:42 -07:00 committed by George Harker
parent 7f0be559bf
commit 01790d75de
9 changed files with 19 additions and 15 deletions

View file

@ -79,7 +79,7 @@
; Repeats
((symbol) @keyword.repeat
(#any-of? @keyword.repeat "each"))
(#eq? @keyword.repeat "each"))
; Operators
((symbol) @operator