feat(inko): add support for Inko

This commit is contained in:
Yorick Peterse 2024-05-03 01:13:43 +02:00 committed by Christian Clason
parent c0c32abc51
commit 7441b82fe5
8 changed files with 323 additions and 0 deletions

40
queries/inko/indents.scm Normal file
View file

@ -0,0 +1,40 @@
[
(arguments)
(array)
(assign_field)
(assign_local)
(assign_receiver_field)
(binary)
(block)
(bounds)
(cast)
(class)
(class_pattern)
(compound_assign_field)
(compound_assign_local)
(compound_assign_receiver_field)
(define_constant)
(define_variable)
(grouped_expression)
(implement_trait)
(match)
(or_pattern)
(reopen_class)
(replace_field)
(replace_local)
(symbols)
(trait)
(tuple)
(tuple_pattern)
(type_arguments)
] @indent.begin
[
")"
"]"
"}"
] @indent.end @indent.branch
(line_comment) @indent.auto
(string) @indent.auto