lyuts / vim-rtags

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

Make RtagsFindSymbols use tab-completion #18

Closed petersohn closed 8 years ago

petersohn commented 8 years ago

RtagsFindSymbols uses rc -F, which finds symbols based on exact name match. It would be useful to be able to search based on prefix. rc -S lists symbols starting with its argument. It would be useful to make RtagsFindSymbols tab-complete based on the result of rc -S.

lyuts commented 8 years ago

AFAIU, the merged change doesn't completely corresponds to the requested feature. @petersohn, correct me if I wrong, you want to be able to auto complete RtagsFindSymbols arguments by intermediately invoking rc -S?

lyuts commented 8 years ago

I'm sorry, I've reread the docs for customlist completion and it looks like it indeed matches the desired behavior.

petersohn commented 8 years ago

Yes, it seems to do what I need.