scrooloose/syntastic — pull request #892 by roktas (2013-12-04 15:53:54+00:00)
Title: Workaround the issue of filetype lost after auto jump.

I am not sure whether this is a Vim bug or feature, but when `g:syntastic_auto_jump` is set and Syntastic jumps to another buffer by saving the current file, filetype is missing for the new buffer (hence no syntax highlight). No problem occurs if Syntastic jumps with an explicit `SyntasticCheck` command. You may want to try the following gist to reproduce the issue:

https://gist.github.com/roktas/7788810

(You may also need the Vim golang plugin: https://github.com/jnwhiteh/vim-golang)