title: Vim syntax javaid.vim dotfile didn't work
body: <p>Recently I use Vim to write java program. However, the bad thing is that vim default java syntax is not satisfying.  </p>
  
  <p>I checked the help doc, type <code>:help java.vim</code>, and found this one <a href="http://www.fleiner.com/vim/syntax/javaid.vim" rel="nofollow noreferrer">http://www.fleiner.com/vim/syntax/javaid.vim</a>. This dotfile can highlight most java standard classes. And it almost saved my day.  </p>
  
  <p>Then I followed the guide carefully, yet surprisingly got the error message
  like this:</p>
  
  <pre><code>Error detected while processing /Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/javaid.vim
  
  E492: Not an editor command:   JavaHiLink javaR_Java javaR_ 
  E492: Not an editor command:   JavaHiLink javaC_JavaApplet javaC_Java  
  E492: Not an editor command:   JavaHiLink javaR_JavaAwt javaR_Java 
  E492: Not an editor command:   JavaHiLink javaR_JavaAwtColor javaR_JavaAwt    
  </code></pre>
  
  <p>And lot of similar error messages. I have read the doc and found the update day is 2005, so is something too old to compile correctly?</p>
  
  <p>So, kind Stack Overflowers, can offer better ideas?</p>