nvim-treesitter/queries/ispc/indents.scm
Christian Clason a80fe081b4 feat(predicates)!: rename has-type to kind-eq to align with Helix
No point in having a different name for the same predicate.
2024-06-02 12:07:58 +02:00

9 lines
227 B
Scheme

; inherits: c
((foreach_statement
body: (_) @_body) @indent.begin
(#not-kind-eq? @_body "compound_statement"))
((foreach_instance_statement
body: (_) @_body) @indent.begin
(#not-kind-eq? @_body "compound_statement"))