mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:00:04 +08:00
feat(ctags): add --extra=+f
when generate tagfiles
python-imports.vim requires tag file build
This commit is contained in:
parent
1185975cb7
commit
0c7d441a0f
2
bundle/gtags.vim/autoload/ctags.vim
vendored
2
bundle/gtags.vim/autoload/ctags.vim
vendored
@ -74,7 +74,7 @@ function! ctags#update(...) abort
|
||||
endif
|
||||
endif
|
||||
if isdirectory(dir)
|
||||
let cmd += ['-R', '-o', dir . '/tags', project_root]
|
||||
let cmd += ['-R', '--extra=+f', '-o', dir . '/tags', project_root]
|
||||
call s:LOGGER.debug('ctags command:' . string(cmd))
|
||||
let jobid = s:JOB.start(cmd, {
|
||||
\ 'on_stdout' : function('s:on_update_stdout'),
|
||||
|
Loading…
Reference in New Issue
Block a user