Install Syntastic vim plugin, and customise it.