Run golint on go files
This commit is contained in:
parent
f3075339c6
commit
596d7ab66a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user