feat: add powershell language

This commit is contained in:
Andrey Chalkin 2024-07-22 23:14:45 +02:00 committed by GitHub
parent 4ee9f12ff5
commit c5b3560306
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 500 additions and 0 deletions

View file

@ -0,0 +1,41 @@
(function_statement
"}" @indent.branch) @indent.begin
(param_block
[
"param"
"("
")"
] @indent.branch) @indent.begin
(script_block_expression
"}" @indent.branch) @indent.begin
(statement_block
"}" @indent.branch) @indent.begin
(switch_body
"}" @indent.branch) @indent.begin
(array_expression
")" @indent.branch) @indent.begin
(hash_literal_expression
"}" @indent.branch) @indent.begin
(class_statement
"}" @indent.branch) @indent.begin
(class_method_definition
"}" @indent.branch) @indent.begin
[
"}"
")"
] @indent.end
[
(comment)
(string_literal)
(ERROR)
] @indent.auto