feat!: drop modules, general refactor and cleanup

This commit is contained in:
Christian Clason 2023-06-12 09:54:30 -06:00
parent 310f0925ec
commit 692b051b09
1247 changed files with 6096 additions and 9074 deletions

View file

@ -0,0 +1,43 @@
[
(compound_statement)
(loop_statement)
(struct_declaration)
(type_constructor_or_function_call_expression)
] @indent.begin
((parameter_list) @indent.begin
(#set! indent.immediate)
(#set! indent.start_at_same_line))
(function_declaration
"(" @indent.begin
(#set! indent.immediate))
(ERROR
"fn"
(identifier)
"(" @indent.begin
(#set! indent.immediate))
(compound_statement
"}" @indent.end)
(loop_statement
"}" @indent.end)
(function_declaration
")" @indent.end)
(struct_declaration
"}" @indent.end)
[
"else"
")"
"}"
] @indent.branch
[
(line_comment)
(block_comment)
] @indent.auto