08b442f4cc
JavaScript queries now contain a few lines that prevent them from being used whole-sale in typescript with `; inherits: javascript`. Here we follow nvim-treesitter's way of using a fake 'ecma' language as a common base for JavaScript and TypeScript to share as much as we can.
22 lines
262 B
Scheme
22 lines
262 B
Scheme
[
|
|
(array)
|
|
(object)
|
|
(arguments)
|
|
(formal_parameters)
|
|
|
|
(statement_block)
|
|
(object_pattern)
|
|
(class_body)
|
|
(named_imports)
|
|
|
|
(binary_expression)
|
|
(return_statement)
|
|
(template_substitution)
|
|
(export_clause)
|
|
] @indent
|
|
|
|
[
|
|
"}"
|
|
"]"
|
|
")"
|
|
] @outdent
|