You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
You can set the path to jsctags in the type definition in your vimrc as explained under :h tagbar-extend. At the moment that requires copying the whole javascript type definition from the tagbar source into your vimrc (and then adding the extra field), but I'm trying to think of a way that would make that unnecessary (so you would only have to specify the path).
I have just pushed a change that removes the need to provide the complete jsctags configuration if jsctags is not in your $PATH, so you only have to specify the ctagsbin key. I guess I can close this bug then.
Hi,
I installed jsctags installed on a win32 machine. (See my gist: https://gist.github.com/1438882)
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
The text was updated successfully, but these errors were encountered: