nvim-treesitter/queries/ispc/indents.scm
2024-02-29 23:05:30 +09:00

9 lines
225 B
Scheme

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