JCLiang / vim-cscope-utils

A vim plugin that creates and auto-loads ctags, cscope, and pycscope database for you.
15 stars 4 forks source link

asynchronous calls to generate databases #9

Open JCLiang opened 9 years ago

JCLiang commented 9 years ago

On large projects it takes a long time to generate the ctag/cscope/pycscope databases. It's probably a good idea to allow the Python function that generates the databases to run in background and (re-)connect the new databases when they are ready, so it does not block the user for a long time.

martinpelikan commented 9 years ago

:+1: This is something I've been wishing for. Assuming it ends up running transparently, having it update the databases on a timer, on write, or when your cursor becomes idle would also be great.

I switched to Neovim because of its asynchronous job control. This might be a nice feature to use when available, while falling back to a vim compatible solution.