I'm a bit new to using emacs for webdevelopment. I am using php-mode and I am happy with it. I have a lot of problems because of my company's coding style.
When I have a function, like:
$ instance = new model ('foo', 'bar');
And I want to indent it like this:
$ instance = new model ('foo', 'bar');
Emacs gives the following argument when I enter a new line before the first argument and indent it like this:
$ instance = new model ( 'Foo', 'bar');
Does anyone direct me in this direction on how I can configure / change it?
In advance thank you
The php-mode is actually built on top of cc-mode So that you can use the CC-mode indentation optimization capabilities. Look at
Comments
Post a Comment