mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 20:00:07 -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,61 +0,0 @@
|
|||
[
|
||||
(array_expression)
|
||||
(assert_statement)
|
||||
(assignment_statement)
|
||||
(block)
|
||||
(constant_declaration)
|
||||
(expression_statement)
|
||||
(items_block)
|
||||
(loop_statement)
|
||||
(mapping_declaration)
|
||||
(parenthesized_expression)
|
||||
(record_declaration)
|
||||
(return_statement)
|
||||
(struct_declaration)
|
||||
(struct_expression)
|
||||
(tuple_expression)
|
||||
(variable_declaration)
|
||||
] @indent.begin
|
||||
|
||||
((function_parameters) @indent.align
|
||||
(#set! indent.open_delimiter "(")
|
||||
(#set! indent.close_delimiter ")"))
|
||||
|
||||
((function_arguments) @indent.align
|
||||
(#set! indent.open_delimiter "(")
|
||||
(#set! indent.close_delimiter ")"))
|
||||
|
||||
(parenthesized_expression
|
||||
")" @indent.branch)
|
||||
|
||||
(function_parameters
|
||||
")" @indent.branch)
|
||||
|
||||
(function_arguments
|
||||
")" @indent.branch)
|
||||
|
||||
(record_declaration
|
||||
"}" @indent.branch)
|
||||
|
||||
(struct_declaration
|
||||
"}" @indent.branch)
|
||||
|
||||
(struct_expression
|
||||
"}" @indent.branch)
|
||||
|
||||
(array_expression
|
||||
"]" @indent.branch)
|
||||
|
||||
(tuple_expression
|
||||
")" @indent.branch)
|
||||
|
||||
(items_block
|
||||
"}" @indent.branch)
|
||||
|
||||
(block
|
||||
"}" @indent.branch)
|
||||
|
||||
[
|
||||
(comment)
|
||||
(ERROR)
|
||||
] @indent.auto
|
||||
Loading…
Add table
Add a link
Reference in a new issue