mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -04:00
feat(inko): add support for Inko
This commit is contained in:
parent
c0c32abc51
commit
7441b82fe5
8 changed files with 323 additions and 0 deletions
40
queries/inko/indents.scm
Normal file
40
queries/inko/indents.scm
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue