Check for gofmt instead of go in the gofmt checker.

This commit is contained in:
Kamil Kisiel 2013-04-13 20:35:27 -07:00
parent b72d9e57da
commit 2472fe3ca0

View File

@ -18,7 +18,7 @@ endif
let g:loaded_syntastic_go_gofmt_checker=1
function! SyntaxCheckers_go_gofmt_IsAvailable()
return executable('go')
return executable('gofmt')
endfunction
function! SyntaxCheckers_go_gofmt_GetLocList()