Regenerate nvim config
This commit is contained in:
44
config/neovim/store/nvim-treesitter/queries/hare/indents.scm
Normal file
44
config/neovim/store/nvim-treesitter/queries/hare/indents.scm
Normal file
@ -0,0 +1,44 @@
|
||||
[
|
||||
(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
|
||||
Reference in New Issue
Block a user