majutsushi/tagbar — Issue #53: Can you add g:tagbar_jsctags_bin
Author: darcyparker
Created: 2011-12-06 15:06:32+00:00
State: open

Hi,

I installed jsctags installed on a win32 machine. (See my gist: https://gist.github.com/1438304)

To get tagbar to work with jsctags on gvim win32, I had to hard code my path to jsctags.cmd in the autoload/tagbar.vim file.

ie: in the latest version on github, I changed these lines as follows.
line 404: if executable('d:\opt\node\jsctags.cmd')
line 417: let type_javascript.ctagsbin = 'd:\opt\node\jsctags.cmd'

Works nicely now on windows. But this of course is just a workaround.

It would be nice to have logic similar to if !exists('g:tagbar_ctags_bin') logic earlier in the file.

Thanks
Darcy