lyuts / vim-rtags

Vim bindings for rtags, llvm/clang based c++ code indexer.
BSD 2-Clause "Simplified" License
282 stars 56 forks source link

Implement async invocation of rc in neovim #48

Closed sphaerophoria closed 7 years ago

sphaerophoria commented 7 years ago

Vim hanging on heavy rc calls can be kind of irritating, so I've implemented an async implementation in neovim. In theory this could be extended to support dispatch or vim 8 job control as well.

A summary of the change is

(i ran auto-indentation so there may be some interesting whitespace changes)

lyuts commented 7 years ago

Thank you for the change. Yeah auto indentation generated some noise in the diff, and would suggest not mixing refactoring/reformatting with the actual change by making it a separate commit, that way it is easier to get to the actual code change. I had to manually resolve some conflicts, so may I ask you to double check it, to make sure I didn't break it during this resolution. Thanks again.