lyuts / vim-rtags

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

Fix interplay of renaming and folding #14

Closed bbannier closed 9 years ago

bbannier commented 9 years ago

If the user has folding enabled we need to open them at least that much, that we can work on a proper word at the rename location (otherwise e.g. ciw would change the whole fold).

bbannier commented 9 years ago

Anything that needs to be done here before this could get merged? In the current master symbol renaming is completely broken with folding enabled as it will always work on the full fold containing the symbol (e.g. whole blocks of code might be removed).

lyuts commented 9 years ago

Thank you for the fix. Apologies for late response.