I usually prefer 4 space indents, but Node does seem to make for a lot of
nesting (though maybe that's a bug?).
At any rate, I agree we should standardize and I don't feel strongly about
what the standard should be. I'll support whatever happens.
--
- mdz
I usually prefer 4 space indents, but Node does seem to make for a lot of
nesting (though maybe that's a bug?).
Found this:
I'm completely down with 2-space indents in HTML / XML, though. You can't exactly refactor HTML to break out the indentation.
Yeah, I just meant between node + frontend, vim treats it all as javascript. It was especially annoying alternating between locker project stuff and other things I was working on, because everywhere else my javascript is set to 2 spaces.Is there a way to determine filetype based on directory or something similar in vim?