mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-08 14:30:05 -04:00
- Don't branch at `case` - Let `import_spec_list`/`var_declaration` behave like `const_declaration` Fixes #2166
31 lines
430 B
Scheme
31 lines
430 B
Scheme
[
|
|
(import_declaration)
|
|
(const_declaration)
|
|
(var_declaration)
|
|
(type_declaration)
|
|
(composite_literal)
|
|
(func_literal)
|
|
(literal_value)
|
|
(expression_case)
|
|
(default_case)
|
|
(block)
|
|
(call_expression)
|
|
(parameter_list)
|
|
] @indent
|
|
|
|
[
|
|
"}"
|
|
] @branch
|
|
|
|
(const_declaration ")" @branch)
|
|
(import_spec_list ")" @branch)
|
|
(var_declaration ")" @branch)
|
|
|
|
[
|
|
"}"
|
|
")"
|
|
] @indent_end
|
|
|
|
(parameter_list ")" @branch)
|
|
|
|
(comment) @ignore
|