title: how to correctly indent nested switch statements in php with vim
body: <p>The following php script gets the wrong indentation in latest vim (<code>VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Dec 30 2013 13:07:23), Included patches: 1-131</code>):</p>
  
  <pre><code>&lt;?
  switch($one) {
  case 'a':
      switch($two) {
      case 'b':
      }
      case 'c': # &lt;-- should be one level higher
  }
  </code></pre>
  
  <p>The <code>case 'c':</code> statement should be one level higher:</p>
  
  <pre><code>&lt;?
  switch($one) {
  case 'a':
      switch($two) {
      case 'b':
      }
  case 'c':
  }
  </code></pre>
  
  <p>I already tried the latest <a href="https://github.com/2072/PHP-Indenting-for-VIm" rel="nofollow">php indent plugin</a> 1.40 without change to this. How can the nested switch statement be indented correctly? Is there any better php indentation plugin getting this right?</p>
  
  <p>thanks for help.</p>