Check for gofmt instead of go in the gofmt checker.
This commit is contained in:
parent
b72d9e57da
commit
2472fe3ca0
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user