title: Vim Autoindent not working with HTML/XML
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/459478/correct-indentation-of-html-and-php-using-vim">Correct indentation of HTML and PHP using Vim</a>  </p>
  </blockquote>
  
  
  
  <p>My vim autoindent works splendidly for PHP, but it never seems to work for XML/HTML.  Here's my vimrc:</p>
  
  <pre><code>set autoindent
  filetype indent on
  set pastetoggle=&lt;F2&gt;
  set number
  set incsearch
  set wildmode=longest,list
  set hidden
  set title
  set scrolloff=3
  set cindent
  </code></pre>