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 GitHub
parent 9ddd853e7e
commit 2c30e515eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 19 additions and 15 deletions

View file

@ -137,7 +137,7 @@
((argument) @_cache @keyword.modifier
.
(argument) @_type @type
(#any-of? @_cache "CACHE")
(#eq? @_cache "CACHE")
(#any-of? @_type "BOOL" "FILEPATH" "PATH" "STRING" "INTERNAL"))))
(normal_command