mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 18:00:07 -04:00
indents(php): add another test
This commit is contained in:
parent
1b0a74afa8
commit
992926ab99
3 changed files with 15 additions and 3 deletions
|
|
@ -1,12 +1,9 @@
|
|||
[
|
||||
(array_creation_expression)
|
||||
(arguments)
|
||||
(formal_parameters)
|
||||
(compound_statement)
|
||||
(declaration_list)
|
||||
(binary_expression)
|
||||
(return_statement)
|
||||
(expression_statement)
|
||||
] @indent
|
||||
|
||||
[
|
||||
|
|
@ -20,3 +17,8 @@
|
|||
] @ignore
|
||||
|
||||
(compound_statement "}" @indent_end)
|
||||
([
|
||||
(arguments)
|
||||
(formal_parameters)
|
||||
] @aligned_indent
|
||||
(#set! "delimiter" "()"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue