mirror of
https://github.com/preservim/tagbar.git
synced 2025-02-14 03:42:46 +08:00
Check for ctags in default locations of homebrew and macports
This commit is contained in:
parent
9a6e21e44d
commit
7163f4e4fa
|
@ -36,6 +36,12 @@ if !exists('g:tagbar_ctags_bin')
|
|||
let g:tagbar_ctags_bin = 'exuberant-ctags'
|
||||
elseif executable('exctags')
|
||||
let g:tagbar_ctags_bin = 'exctags'
|
||||
elseif has('macunix') && executable('/usr/local/bin/ctags')
|
||||
" Homebrew default location
|
||||
let g:tagbar_ctags_bin = '/usr/local/bin/ctags'
|
||||
elseif has('macunix') && executable('/opt/local/bin/ctags')
|
||||
" Macports default location
|
||||
let g:tagbar_ctags_bin = '/opt/local/bin/ctags'
|
||||
elseif executable('ctags')
|
||||
let g:tagbar_ctags_bin = 'ctags'
|
||||
elseif executable('ctags.exe')
|
||||
|
|
Loading…
Reference in New Issue
Block a user