hold ctags windows untils ctags cmd finished

neovim_0.6^2
ray-x 2 years ago
parent 27442d2784
commit 48e35f4e56

@ -91,6 +91,7 @@ local function ctags_symbols()
local ctags_file = _NgConfigValues.ctags.tagfile
if not util.file_exists(ctags_file) then
ctags_gen()
vim.cmd('sleep 200m')
end
local cnts = util.io_read(ctags_file)
if cnts == nil then
@ -135,6 +136,7 @@ local function ctags(...)
log(gen)
if gen == '-g' then
ctags_gen()
vim.cmd('sleep 200m')
ctags_symbols()
else
ctags_symbols()

Loading…
Cancel
Save