mirror of
https://github.com/preservim/tagbar.git
synced 2025-02-14 21:42:46 +08:00
expand() ctags path in case it is installed in home dir
This commit is contained in:
parent
0cb1f55f6a
commit
fbeea744d2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user