nvim-treesitter/queries/javascript/indents.scm

28 lines
362 B
Scheme
Raw Normal View History

2021-01-05 19:26:08 +07:00
; inherits: (jsx)
[
(object)
(array)
(arguments)
(statement_block)
(object_pattern)
(class_body)
(method_definition)
(named_imports)
(binary_expression)
(return_statement)
(template_substitution)
(expression_statement (call_expression))
(export_clause)
] @indent
[
(arguments (object))
2021-01-05 19:26:08 +07:00
"("
")"
"{"
"}"
"["
"]"
] @branch