1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-17 19:40:27 +01:00

expand() ctags path in case it is installed in home dir

This commit is contained in:
Jan Larres
2011-03-28 12:34:41 +13:00
parent 0cb1f55f6a
commit fbeea744d2

View File

@@ -38,6 +38,13 @@ if !exists('g:tagbar_ctags_bin')
echomsg 'Tagbar: Exuberant ctags not found, skipping plugin'
finish
endif
else
let g:tagbar_ctags_bin = expand(g:tagbar_ctags_bin)
if !executable(g:tagbar_ctags_bin)
echomsg 'Tagbar: Exuberant ctags not found in specified place,'
\ 'skipping plugin'
finish
endif
endif
let g:loaded_tagbar = 1