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

Fix --file-scope option warning (#648)

This commit is contained in:
zhmars
2020-08-26 17:14:15 +08:00
committed by GitHub
parent bcc32b42b5
commit 86b268471b

View File

@@ -1316,9 +1316,9 @@ function! s:ExecuteCtagsOnFile(fname, realfname, typeinfo) abort
" universal-ctags deprecated this argument name
if s:ctags_is_uctags
let ctags_args += [ '--extras=' ]
let ctags_args += [ '--extras=+F' ]
else
let ctags_args += [ '--extra=' ]
let ctags_args += [ '--extra=', '--file-scope=yes' ]
endif
let ctags_args = ctags_args + [
@@ -1327,7 +1327,6 @@ function! s:ExecuteCtagsOnFile(fname, realfname, typeinfo) abort
\ '--format=2',
\ '--excmd=pattern',
\ '--fields=nksSaf',
\ '--file-scope=yes',
\ '--sort=no',
\ '--append=no'
\ ]