mirror of
https://github.com/gryf/tagbar.git
synced 2025-12-17 11:30:28 +01:00
Use different argument for ctags vs. uctags, closes #552
This commit is contained in:
@@ -1106,12 +1106,18 @@ function! s:ExecuteCtagsOnFile(fname, realfname, typeinfo) abort
|
||||
\ '--format=2',
|
||||
\ '--excmd=pattern',
|
||||
\ '--fields=nksSaf',
|
||||
\ '--extras=',
|
||||
\ '--file-scope=yes',
|
||||
\ '--sort=no',
|
||||
\ '--append=no'
|
||||
\ ]
|
||||
|
||||
" universal-ctags deprecated this argument name
|
||||
if s:ctags_is_uctags
|
||||
let ctags_args += [ '--extras=' ]
|
||||
else
|
||||
let ctags_args += [ '--extra=' ]
|
||||
endif
|
||||
|
||||
" verbose if debug enabled
|
||||
if tagbar#debug#enabled()
|
||||
let ctags_args += [ '-V' ]
|
||||
|
||||
Reference in New Issue
Block a user