Ignore whitespaces while comparing files:
:set diffopts+=iwhite
Hosted on GitHub: https://github.com/mariokonrad/vim-config