JavaScript VIM Debug Plugin - Comma First
Is there a Javascript indentation plugin for VIM that can handle semicolon notation?
Example:
var o = {
foo: bar
, bar: foo
, cde: efg
}
I think Sublime Text supports this.
+3
nisc
source
to share
1 answer
You can try JavaScript Indent plugin . It doesn't give me the exact same style you are using, but it certainly handles javascript indentation better than plain vim.
-1
evnu
source
to share