mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
|
|
@ -1,71 +0,0 @@
|
|||
[
|
||||
(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
|
||||
Loading…
Add table
Add a link
Reference in a new issue