Since js-mode has different offset variables, I was wondering if we could support those also.
Currently, if I use this file:
function test(arg) {
switch(arg) {
case 'foo':
return 'bar'
default:
return 'baz'
}
}
the guessed indentation is 2.
The problem is that js-switch-indent-offset was set to 2.