2021-02-02 18:58:07 +01:00
|
|
|
[
|
2022-01-29 11:04:13 +01:00
|
|
|
(function_block)
|
|
|
|
|
(binary_expression)
|
2021-02-02 18:58:07 +01:00
|
|
|
(collection)
|
2022-01-29 11:04:13 +01:00
|
|
|
(indexed_collection)
|
2021-02-02 18:58:07 +01:00
|
|
|
(parameter_call_list)
|
2022-01-29 11:04:13 +01:00
|
|
|
(function_call)
|
|
|
|
|
(class_def)
|
|
|
|
|
(classvar)
|
|
|
|
|
(const)
|
|
|
|
|
(instance_var)
|
|
|
|
|
(variable_definition)
|
2024-01-06 15:05:50 +09:00
|
|
|
(variable_definition_sequence
|
|
|
|
|
(variable_definition))
|
2022-01-29 11:04:13 +01:00
|
|
|
(return_statement)
|
2023-03-20 14:44:39 -07:00
|
|
|
] @indent.begin
|
2021-02-02 18:58:07 +01:00
|
|
|
|
|
|
|
|
[
|
2024-01-06 15:05:50 +09:00
|
|
|
(parameter_call_list
|
feat(supercollider)!: update parser and queries
parser PR: https://github.com/madskjeldgaard/tree-sitter-supercollider/pull/67
removed nodes:
control_structure, if, while, for, forby, method_call,
method_name, instance_variable_setter_call, argument_calls
added nodes:
class_def_body, !==, ===
modified nodes:
function_call now has fields receiver, name and arguments
chained method calls now appear as nested function_calls (where receiver
is another function_call)
2026-02-20 15:38:13 +01:00
|
|
|
(_))
|
2021-02-02 18:58:07 +01:00
|
|
|
")"
|
|
|
|
|
"}"
|
|
|
|
|
"]"
|
2023-03-20 14:44:39 -07:00
|
|
|
] @indent.branch
|
2022-01-29 11:04:13 +01:00
|
|
|
|
feat(supercollider)!: update parser and queries
parser PR: https://github.com/madskjeldgaard/tree-sitter-supercollider/pull/67
removed nodes:
control_structure, if, while, for, forby, method_call,
method_name, instance_variable_setter_call, argument_calls
added nodes:
class_def_body, !==, ===
modified nodes:
function_call now has fields receiver, name and arguments
chained method calls now appear as nested function_calls (where receiver
is another function_call)
2026-02-20 15:38:13 +01:00
|
|
|
; for auto-indent while typing
|
|
|
|
|
(ERROR
|
|
|
|
|
"{") @indent.begin
|
|
|
|
|
|
|
|
|
|
(ERROR
|
|
|
|
|
"}") @indent.branch
|
|
|
|
|
|
|
|
|
|
(ERROR
|
|
|
|
|
"[") @indent.begin
|
|
|
|
|
|
|
|
|
|
(ERROR
|
|
|
|
|
"]") @indent.branch
|
|
|
|
|
|
2022-01-29 11:04:13 +01:00
|
|
|
[
|
|
|
|
|
(block_comment)
|
|
|
|
|
(line_comment)
|
2023-03-20 14:44:39 -07:00
|
|
|
] @indent.ignore
|