diff --git a/compiler/go.vim b/compiler/go.vim index 0bd6a154d6..e7a8db9aeb 100644 --- a/compiler/go.vim +++ b/compiler/go.vim @@ -19,7 +19,7 @@ endif let s:save_cpo = &cpo set cpo-=C -if filereadable("makefile") || filereadable("Makefile") +if filereadable("GNUmakefile") || filereadable("makefile") || filereadable("Makefile") CompilerSet makeprg=make else CompilerSet makeprg=go\ build