title: Vim, Javascript, DoctorJS (jsctags) and Taglist (Source code browsing)
body: <p>I've installed <a href="http://doctorjs.org/" rel="nofollow noreferrer">DoctorJS</a> (previously <em>jsctags</em>) in an attempt to get some good source-code browsing/tag-listing for Vim (using the <a href="http://www.vim.org/scripts/script.php?script_id=273" rel="nofollow noreferrer">Taglist</a> plugin). </p>
  
  <p>Installing went fine, but Vim's <em>Taglist</em> doesn't work with DoctorJS.</p>
  
  <p>When trying to open the tag-list window in Vim via <code>:TListToggle</code>, I get the following error:</p>
  
  <pre><code>Taglist: Failed to generate tags for /home/me/script.js
  ctags: illegal option -- -^@usage: ctags [-BFadtuwvx] [-f tagsfile] file ...^@
  </code></pre>
  
  <p>I've searched the www, and found out <a href="http://discontinuously.com/2011/03/vim-support-javascript-taglist-plus/" rel="nofollow noreferrer">this guide, suggesting a replacement plugin called <em>Taglist-Plus</em></a>, but it doesn't work with DoctorJS, only with the old unmaintained version, <em>jsctags</em>.</p>
  
  <p>In short - I can't get this to work. Very frustrating. We should be able to have good JavaScript source-code browsing!</p>
  
  <p>Any Vim wizzes out there that have managed to get this thing working?</p>
  
  <p>Thanks in advance.</p>
  
  <h2>Better Solution:</h2>
  
  <p>After resolving this problem (thanks for the answer, <em>@romainl</em>), <a href="https://stackoverflow.com/questions/4777366/recommended-vim-plugins-for-javascript-coding/5893600#5893600">I wrote a short guide on how to get this thing done easily as an answer to another question</a>. I recommend to check it out.</p>