Properly detect whether a C file is using tabs or spaces for Vim.

Closes issue #5611. Thanks Kirk McDonald and Johannes Hoff.
2 files changed