On 13/12/2007, Catalin Marinas catalin.marinas@gmail.com wrote:
The second patch adjusts the indentation if there is an open bracket on the previous line (similar to emacs but only checks the previous line). This is useful when writing function arguments on multiple lines, multiple conditions in an if statement, lists in Python etc.
I attached an updated version of this patch to take into account braces as well if the language doesn't use them for blocks (this is mainly to do nicer indentation of Python dictionaries).