tamzinblake / js3-mode

A chimeric fork of js2-mode and js-mode
GNU General Public License v3.0
181 stars 13 forks source link

Case statement bodies not indented #70

Closed tamzinblake closed 10 years ago

tamzinblake commented 11 years ago

Currently, case statement bodies are not indented:

switch(type) {
  case "string":
  string_func()
  break
  case "number":
  number_func()
  break
  case "array":
  array_func()
  break
}

Should be:

switch(type) {
  case "string":
    string_func()
    break
  case "number":
    number_func()
    break
  case "array":
    array_func()
    break
}
tamzinblake commented 10 years ago

Fixed by #99