Regenerate nvim config
This commit is contained in:
71
config/neovim/store/nvim-treesitter/queries/pony/indents.scm
Normal file
71
config/neovim/store/nvim-treesitter/queries/pony/indents.scm
Normal file
@ -0,0 +1,71 @@
|
||||
[
|
||||
(use_statement)
|
||||
(actor_definition)
|
||||
(class_definition)
|
||||
(primitive_definition)
|
||||
(interface_definition)
|
||||
(trait_definition)
|
||||
(struct_definition)
|
||||
(constructor)
|
||||
(method)
|
||||
(behavior)
|
||||
(parameters)
|
||||
(if_block)
|
||||
(then_block)
|
||||
(elseif_block)
|
||||
(else_block)
|
||||
(iftype_statement)
|
||||
(elseiftype_block)
|
||||
(do_block)
|
||||
(match_statement)
|
||||
(parenthesized_expression)
|
||||
(tuple_expression)
|
||||
(array_literal)
|
||||
(object_literal)
|
||||
] @indent.begin
|
||||
|
||||
(try_statement
|
||||
(block) @indent.begin)
|
||||
|
||||
(repeat_statement
|
||||
(block) @indent.begin)
|
||||
|
||||
(recover_statement
|
||||
(block) @indent.begin)
|
||||
|
||||
(return_statement
|
||||
(block) @indent.begin)
|
||||
|
||||
(continue_statement
|
||||
(block) @indent.begin)
|
||||
|
||||
(break_statement
|
||||
(block) @indent.begin)
|
||||
|
||||
[
|
||||
"}"
|
||||
"]"
|
||||
")"
|
||||
] @indent.end
|
||||
|
||||
[
|
||||
"{"
|
||||
"}"
|
||||
] @indent.branch
|
||||
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
] @indent.branch
|
||||
|
||||
[
|
||||
"("
|
||||
")"
|
||||
] @indent.branch
|
||||
|
||||
[
|
||||
(ERROR)
|
||||
(string)
|
||||
(line_comment)
|
||||
(block_comment)
|
||||
] @indent.auto
|
||||
Reference in New Issue
Block a user