mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 07:00:04 +08:00
feat(ctags): remove tags before running ctags
This commit is contained in:
parent
545a3bc5fa
commit
17a380aed9
@ -90,6 +90,7 @@ function M.update() -- {{{
|
||||
end
|
||||
|
||||
if vim.fn.isdirectory(dir) == 1 then
|
||||
vim.fn.delete(dir .. '/tags')
|
||||
extend(cmd, { '-R', '--extra=+f', '-o', dir .. '/tags', project_root })
|
||||
log.debug('ctags command:' .. vim.inspect(cmd))
|
||||
local jobid = job.start(cmd, {
|
||||
|
Loading…
Reference in New Issue
Block a user