peitalin / vim-jsx-typescript

React JSX syntax highlighting for vim and Typescript
The Unlicense
306 stars 29 forks source link

Fix switch indentation #38

Open dhleong opened 3 years ago

dhleong commented 3 years ago

Before this PR:

switch (..) {
  case ..:
  line1...      // <- not this weird indent
    line2...
    break;
}

After:

switch (..) {
  case ..:
    line1...
    line2...
    break;
}