fix unwanted mixed whitespace error reporting

change the whitespace checking algorithm to stop reporting
mixed whitespace: https://github.com/bling/vim-airline/issues/517