how can I tell vimdiff to ignore whitespace?

I made a number of changes in a file I'm working on, including indentation changes. I'm using vimdiff to compare the file to the original version, and I don't want to see these changes, since they're basically cosmetic.

How can I tell vimdiff to ignore whitespace during the comparison?


Solution 1:

set diffopt+=iwhite
from vim wikia