I\'m trying to get VIM to indent Javascript with the \'=\' and related commands. When I try to auto indent the following, for example:
new function($) {
For me the presence of more than one '(' character before the '{' character on the same line seemed to change the indentation algorithm used by '='. Removing one of the '(' seemed to fix '=' for all parts of the file except other scope regions '{...}' which also had multiple '(' on the opening line.
I'm using vim 7.4 in lubuntu