feat(predicates)!: rename has-type to kind-eq to align with Helix

No point in having a different name for the same predicate.
This commit is contained in:
Christian Clason 2024-06-01 13:37:08 +02:00
parent deb76a224a
commit a80fe081b4
8 changed files with 16 additions and 16 deletions

View file

@ -2,8 +2,8 @@
((foreach_statement
body: (_) @_body) @indent.begin
(#not-has-type? @_body compound_statement))
(#not-kind-eq? @_body "compound_statement"))
((foreach_instance_statement
body: (_) @_body) @indent.begin
(#not-has-type? @_body compound_statement))
(#not-kind-eq? @_body "compound_statement"))