mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 15:00:04 -04:00
Add indents for php
This commit is contained in:
parent
bdbae28b24
commit
71e3391a8c
2 changed files with 34 additions and 7 deletions
23
queries/php/indents.scm
Normal file
23
queries/php/indents.scm
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
[
|
||||
(array_creation_expression)
|
||||
(arguments)
|
||||
(formal_parameters)
|
||||
(compound_statement)
|
||||
(declaration_list)
|
||||
(binary_expression)
|
||||
(return_statement)
|
||||
(expression_statement)
|
||||
] @indent
|
||||
|
||||
[
|
||||
"("
|
||||
")"
|
||||
"{"
|
||||
"}"
|
||||
"["
|
||||
"]"
|
||||
] @branch
|
||||
|
||||
[
|
||||
(comment)
|
||||
] @ignore
|
||||
Loading…
Add table
Add a link
Reference in a new issue