php mode emacs
i'm carrying problem php formula indenting correctly...
i formula feeling this
if (foo)
{
imitation "i am indented";
}
but always looks this:
if (foo)
{
imitation "i am indented correctly";
}
i sleepy googling identical things attempted adding following .emacs, nonetheless didn't work during all.
any thoughts?
(add-hook 'php-mode-hook
(function (lambda ()
;; gnu style
(setq php-indent-level 4
php-continued-statement-offset 4
php-continued-brace-offset 0
php-brace-offset 0
php-brace-imaginary-offset 0
php-label-offset -4))))
Comments
Post a Comment