lyuts / vim-rtags

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

Pass unread file contents to `rc` #12

Closed petersohn closed 8 years ago

petersohn commented 9 years ago

rc supports the --unsaved-file flag that allows queries to be done in an unsaved file. It would be nice if this feature was integrated in vim-rtags.

martong commented 9 years ago

+1 (But this is rather an enhancement than an issue.)

lyuts commented 9 years ago

Agree, will look into integrating it.

lyuts commented 9 years ago

I made an initial draft of this improvement. For now keeping it in a separate branch until we are confident with pushing it out:

https://github.com/lyuts/vim-rtags/tree/unsaved_file_support

If you want, you could give it a try, or wait when we merge it into master.

lyuts commented 8 years ago

Merged this functionality to master.