| Issue 75: | Indentation fails if the function declaration is wrapped | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Our company style says that wrapped lines should be indented 4 characters,
but that function bodies should be indented 2 characters.
If I have a line that looks like this:
myReallyLongFunctionName =
function(myVar) {
The first statement in the body of the function should get indented 2
characters from the start of the line. However, js2-mode only lets me
toggle between 0, 4, and 6 chars.
|
|
|
|