Hello.
I'm using vim -d file1 file2 in order to see they difference. All works fine, but i want to ignore whitespace changes - they are irrelevant for source code files. vim help states that following command will do the magic:
set diffopt+=iwhite
But, unfortunately, this command only adds '-b' to diff tool command line, that only ignores trailing white spaces. The correct command line key for diff must be '-w' that ignores all white space changes. But i can't find how to modify diff command line directly from vim. Of course i can compile custom diff or replace diff with diff.sh/diff.but, but that looks kinda ugly :(. Is i a more correct way to modify how vim interacts with diff tool for displaying file difference?