mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 06:50:06 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
c13e28f894
commit
2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions
36
runtime/queries/hare/indents.scm
Normal file
36
runtime/queries/hare/indents.scm
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[
|
||||
(enum_type)
|
||||
(struct_type)
|
||||
(tuple_type)
|
||||
(union_type)
|
||||
|
||||
(block)
|
||||
(for_statement)
|
||||
(call_expression)
|
||||
(case)
|
||||
|
||||
(array_literal)
|
||||
(struct_literal)
|
||||
(tuple_literal)
|
||||
] @indent.begin
|
||||
|
||||
(if_statement
|
||||
("(" condition: (_) ")") @indent.begin)
|
||||
|
||||
[
|
||||
"}"
|
||||
"]"
|
||||
")"
|
||||
] @indent.end
|
||||
|
||||
[ "{" "}" ] @indent.branch
|
||||
|
||||
[ "[" "]" ] @indent.branch
|
||||
|
||||
[ "(" ")" ] @indent.branch
|
||||
|
||||
[
|
||||
(ERROR)
|
||||
(comment)
|
||||
(concatenated_string)
|
||||
] @indent.auto
|
||||
Loading…
Add table
Add a link
Reference in a new issue