My javascript mode indents with a mix of tabs and spaces. I'm ok with the mix if spaces are used for cosmetic alignment, but this is just wrong:
First level of indentation is spaces, second is tab, third is tab and spaces.
I tried looking for relevant variables. js-indent-level
is 4.
This is this way with emacs -q
as well (just using my config above for illustration purpose).
How do I fix this, preferably using spaces only?
Emacs 25.2.2
EDIT: Yeah, so I can set indent-tabs-mode
to nil
, but isn't the behavior with it at t
still wrong?