dotfiles/dot_config/nvim/after/queries/php/indents.scm

11 lines
262 B
Scheme
Raw Normal View History

2024-04-14 18:41:15 -07:00
;; extends
[
; prevent double indent for `return new class ...`
(return_statement
(object_creation_expression))
; prevent double indent for `return function() { ... }`
(return_statement
(anonymous_function_creation_expression))
] @indent.dedent