Generating the tagfile in the background?
Hi,
Is it possible to generate/update the tag files in the background after saving a file? It now blocks vim completely for a few seconds.
Kind Regards, Tim
+1 for this, would be great if you can make it work, may be the simplest way is make some kind of mapping to vim-dispatch
Funnily enough, I've been working on a vim plugin for running commands asynchronously, vim-do. So with some tweaks, I should be able to hook it into that.
I'll keep you updated! Really sorry @TrafeX for the total lack of reply. I really need a better way of managing GH issues, where it notifies me if I don't respond after a while!
Hi everyone, I've just pushed to a branch called dev/run-in-background. This integrates with my aforementioned plugin, vim-do (github, vim.org), which runs commands asynchronously within vim (i.e. not in tmux, like vim-dispatch).
To use this, you'll obviously need to install vim-do, and also set g:taggatron_run_in_background = 1. This should remove the noticeable delay when generating large tag files.
This is very much in beta at the moment, so feedback would be much appreciated :)
Thanks!
Hi, I just wanted to try this, but afaict, master is identical to dev/run-in-background. Why is that?
PS: Thanks for your work on this, it's much better than using a cron-job.