Getting started with GO and vim
As a developer who lives most of his life on my Mac with vi/vim, I was happy to see the GO distribution includes vim colourisation for .go, files ..but it was installed.. so..
To setup this up, first copy $GOROOT/misc/vim/go.vim to your vim/gvim syntax directory or $HOME/.vim/syntax (see comment below for the mac). Then all that is required is to setup the file association in runtime/filetype.vim, the following lines did it for me..
" Go
au BufNewFile,BufRead *.go setf go
If like me, you are using Vim.app on the mac, the runtime vim location will be Vim.app/Contents/Resources/vim/runtime with the syntax directory being below this too.
If all goes well, it should look like: