1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-17 11:30:28 +01:00

Add g:tagbar_ctags_options

This commit is contained in:
Michael Goerz
2018-02-03 17:54:44 -05:00
parent 387bbadda9
commit df960e8b9c
2 changed files with 23 additions and 1 deletions

View File

@@ -1096,6 +1096,10 @@ function! s:ExecuteCtagsOnFile(fname, realfname, typeinfo) abort
\ '--sort=no',
\ '--append=no'
\ ]
if exists('g:tagbar_ctags_options')
let ctags_args = add(ctags_args,
\ '--options='.g:tagbar_ctags_options)
fi
" verbose if debug enabled
if tagbar#debug#enabled()