1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:50:04 +08:00

feat(ctags): add --extra=+f when generate tagfiles

python-imports.vim requires tag file build
This commit is contained in:
wsdjeg 2023-03-28 19:25:16 +08:00
parent 1185975cb7
commit 0c7d441a0f

View File

@ -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'),