From 48e35f4e566a47febddc42e34b03779ea2b52574 Mon Sep 17 00:00:00 2001 From: ray-x Date: Fri, 17 Jun 2022 02:21:56 +1000 Subject: [PATCH] hold ctags windows untils ctags cmd finished --- lua/navigator/ctags.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/navigator/ctags.lua b/lua/navigator/ctags.lua index 5c0cefb..3d797e7 100644 --- a/lua/navigator/ctags.lua +++ b/lua/navigator/ctags.lua @@ -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()