emacs-php / emacs-php/php-mode
Indenting of curly braces
Open
- Dominant language
- Emacs Lisp
- Stars
- 602
- Forks
- 117
- Avg merge
- 12h 54m
- Merged PRs (30d)
- 3
Description
I can't seem to get `php-mode` to indent curly braces correctly. For instance, if the intended result is:
``` php
if(expression)
{
statement;
}
```
... I always get:
``` php
if(expression)
{ // badly indented
statement;
} // badly indented
```
This with `c-default-style` set to `linux` and `c-basic-offset` to 2.
I've had a look in the `php-mode` group searching for any customizations that might affect brace indentation but didn't find any.
This can't be a bug: what am I missing?
Contributor guide
Assessment
This issue has not been assessed yet.