I do not end my JavaScript instructions with semicolons when newlines work. Please do not cry. My question is: is there an automatic indentation package for vim that will work?
Here is an example of how inconceivable it is:
$(function(){
var foo
({a:1})
var foo
({a:1})
var foo
function flat(){
var foo
({a:1})
var foo
}
var foo
if (foo) {
var foo
} else if (foo){
var foo
} else if (foo){
var foo
}
var foo
})
source
share