Run golint on go files

This commit is contained in:
Brian Buller 2015-09-16 09:24:48 -05:00
parent f3075339c6
commit 596d7ab66a

View File

@ -65,3 +65,5 @@ au InsertLeave * hi StatusLine term=reverse ctermfg=0 ctermbg=2 gui=bold,reverse
vmap v <Plug>(expand_region_expand) vmap v <Plug>(expand_region_expand)
vmap <C-v> <Plug>(expand_region_shrink) vmap <C-v> <Plug>(expand_region_shrink)
set rtp+=$GOPATH/src/github.com/golang/lint/misc/vim
autocmd BufWritePost,FileWritePost *.go execute 'Lint' | cwindow