feat(ts): add php related queries

This commit is contained in:
2026-04-30 16:00:39 +02:00
parent 217390cfa4
commit 84cfed05e0
11 changed files with 773 additions and 0 deletions
+68
View File
@@ -0,0 +1,68 @@
[
(array_creation_expression)
(parenthesized_expression)
(compound_statement)
(declaration_list)
(member_call_expression)
(binary_expression)
(return_statement)
(arguments)
(formal_parameters)
(enum_declaration_list)
(switch_block)
(match_block)
(case_statement)
(default_statement)
(property_hook_list)
] @indent.begin
(return_statement
[
(object_creation_expression)
(anonymous_function)
(arrow_function)
(match_expression)
]) @indent.dedent
[
")"
"}"
"]"
] @indent.branch
(comment) @indent.auto
(arguments
")" @indent.end)
(formal_parameters
")" @indent.end)
(compound_statement
"}" @indent.end)
(declaration_list
"}" @indent.end)
(enum_declaration_list
"}" @indent.end)
(return_statement
";" @indent.end)
(property_hook_list
"}" @indent.end)
(ERROR
"(" @indent.align
.
(_)
(#set! indent.open_delimiter "(")
(#set! indent.close_delimiter ")"))
(ERROR
"[" @indent.align
.
(_)
(#set! indent.open_delimiter "[")
(#set! indent.close_delimiter "]"))