Closed killtheliterate closed 9 years ago
This is a dupe of #760
The fix in #760 doesn't resolve the issue of unite.vim slow starts/crashes.
It is Vim's GC problem. The patch is available. But it is not included in current Vim. You can try it.
https://groups.google.com/forum/#!searchin/vim_dev/GC/vim_dev/DBYOdHQWvqY/1WH04_dwETIJ
I have the same issue, but believe it is because file_rec/async
is no longer respecting .gitignore
files when using ag
to search.
What I mean is that up until recently, using file_rec/async
respected my .gitignore
files in projects, and thus only searched what I wanted to search due to this being part of the native ag
behavior. Now, after whatever update, ignored folders and files turn up in my file_rec/async
results. This causes everything to lag and eventually crash like in the OP.
To be honest I'm not sure if this is an issue in ag
updating or unite.vim
updating, as both have had recent updates.
Please read issue template and upload reproducable ways.
Nevermind @Shougo. I just found out the problem was because someone on my team modified a .gitignore
such that ag
was not using the paths. It had nothing to do with unite.vim!
OK. Thanks.
I was able to resolve my issue, which seems pretty edge-case, by doing the following:
brew uninstall ag the_silver_searcher
brew install the_silver_searcher
Somehow, I had multiple copies of the_silver_searcher, and that was wreaking havoc not only for unite file_rec/async, but for ag itself.
Reproducable ways from Vim starting
0.startup vim. 1.start file_rec/async