I'm using vim-fugitive's :Gdiff for commits, but it doesn't show whitespace changes, so I can't commit, for example, indentation changes. I don't have any global git configs like core.whitespace, and if I run git diff in the shell I see whitespace changes.
Any ideas how to make fugitive's diff mode ws-sensitive?
Thanks.
As @Atri guessed, the problem was with my
.vimrc. I had this line:iwhitepart is causing diff mode to ignore whitespace changes. Removing that fixes this problem.