Has anyone created a vim syntax file for the go language?
you can just add these lines to your
set rtp+=$GOROOT/misc/vim filetype plugin indent on syntax on
EDIT This assumes
filetype plugin indent off before these lines (i.e. beginning of
.vimrc file) and may cause problems if it's not. See @peterSO's answer below for the safer version.