indents: allow aligned_indent for unfinished calls in C and Python

This commit is contained in:
Stephan Seitz 2022-01-22 14:50:51 +01:00
parent 62982378b8
commit 059fbc487c
7 changed files with 26 additions and 3 deletions

View file

@ -7,7 +7,6 @@
(enumerator_list)
(struct_specifier)
(compound_literal_expression)
(parameter_list)
(initializer_list)
(concatenated_string)
(while_statement)
@ -44,3 +43,8 @@
] @ignore
(binary_expression) @auto
((ERROR (parameter_declaration)) @aligned_indent
(#set! "delimiter" "()"))
([(argument_list) (parameter_list)] @aligned_indent
(#set! "delimiter" "()"))