mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-08-17 03:50:21 +03:00
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.
This commit is contained in:
parent
a5acfdbf10
commit
3e79a35656
@ -36,3 +36,6 @@
|
||||
(parameter_list
|
||||
. (parameter_declaration) @anchor
|
||||
(#set! "scope" "tail")) @align
|
||||
(argument_list
|
||||
. (_) @anchor
|
||||
(#set! "scope" "tail")) @align
|
||||
|
Loading…
Reference in New Issue
Block a user