on master help sign in
Align arguments in a function call in C.

Since the tree-sitter grammar is not very good at parsing function calls while they're being written, this is not yet super useful. However, it prevents the new `hybrid` indent heuristic from choosing these lines as a baseline, making it more robust.

commit3e79a35656461e7143134e0b65b2e78d30df7785 authorDaniel Ebert <daniel.ebert@protonmail.com> dateTue 19 Sep 2023, 16:29 (3 years ago) parenta5acfdb
1 file changed+3
runtime/queries/c/indents.scm+3
runtime/queries/c/indents.scm+3
@@ -36,3 +36,6 @@
3636(parameter_list
3737 . (parameter_declaration) @anchor
3838 (#set! "scope" "tail")) @align
39+(argument_list
40+ . (_) @anchor
41+ (#set! "scope" "tail")) @align