mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix: prefer #eq? for checking equality with one string (#8246)
This commit is contained in:
parent
9ddd853e7e
commit
2c30e515eb
9 changed files with 19 additions and 15 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue