vim-objc icon indicating copy to clipboard operation
vim-objc copied to clipboard

Formatting inside blocks does not work

Open georgekola opened this issue 12 years ago • 1 comments

If there are multiple levels of indentation within blocks, vim-objc does not handle it correctly. It just handles one level. I have pasted a sample code snippet. Please, note that NSLog is not correctly indented.

-(void) test { dispatch_async(encoder_queue_, ^{ BOOL status=[self doSomething]; if(!status){ NSLog(@"Error message"); }
});
}

georgekola avatar Sep 29 '12 01:09 georgekola

It's hard to see what the issue is here without code formatting. Care to add that?

keith avatar May 01 '14 18:05 keith