mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 08:50:11 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
41
runtime/queries/powershell/indents.scm
Normal file
41
runtime/queries/powershell/indents.scm
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue