junkblocker / patchreview-vim

Vim/Neovim plugin for doing single, multi-patch or diff code reviews
http://www.vim.org/scripts/script.php?script_id=1563
108 stars 8 forks source link

DiffReview does not honor patchreview_split_right setting #5

Closed bartlibert closed 10 years ago

bartlibert commented 10 years ago

I have set patchreview_split_right to 1 and this work OK for the PatchReview command, but when I use DiffReview, the changes are still on the left, while I'd prefer them on the right.

Now, this could be by design (it's a "patchreview" setting after all), but in that case I'd like to see a "diffreview_split_right" setting if possible.

Thank you.

junkblocker commented 10 years ago

I can't reproduce this problem locally. What vim version/platform and patchreview.vim plugin version etc. are you running? Does changing g:patchreview_split_right to 0 instead give you the correct behavior for DiffReview?

bartlibert commented 10 years ago

I changed it and I now get the correct behaviour. So I guess it's just a misunderstanding of the functionality on my part. Am I corret that this the intended behaviour:

I thought diffreview would use the parent as the current source and the changes on top of that as the diff, but I realize I was just wrong there. So this can be closed.