php-mode is not indenting delimiter:
<?php
// Not indenting PHP delimiter
if (true) {
echo 'foo';
}
How to indent delimiter?
<?php
// Indenting PHP delimiter
if (true) {
echo 'foo';
}
I tryed:
(defun my-php-indent-setup ()
(c-set-offset 'cpp-macro '+))
(add-hook 'php-mode-hook 'my-php-indent-setup)
But does nothing, and if I do it manually C-c C-o RET cpp-macro RET + RET
it doesn't exactly do what I expected. I also tryed topmost-intro
instead cpp-macro
, but neither do what I expected.