I'm using Emacs to edit my Objective-C code. The default indentation looks like this:
NSTimer *timer =
[NSTimer timerWithTimeInterval:1.0
target:self
selector:@selector(callback:)
userInfo:nil
repeats:YES];
I would like Emacs to indent the code like XCode, that is, to align with the colons:
NSTimer *timer =
[NSTimer timerWithTimeInterval:1.0
target:self
selector:@selector(callback:)
userInfo:nil
repeats:YES];
Is there any hope to achieve this?