From dd903f3bd37a85f7e306c9038584d0cbf68df19f Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sat, 31 Jul 2021 12:18:51 +0300 Subject: [PATCH] go build :make --- vim/.vim/ftplugin/go/autos.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/vim/.vim/ftplugin/go/autos.vim b/vim/.vim/ftplugin/go/autos.vim index f241d49..56267cf 100644 --- a/vim/.vim/ftplugin/go/autos.vim +++ b/vim/.vim/ftplugin/go/autos.vim @@ -1,5 +1,6 @@ setlocal noexpandtab let b:defsplit_shift=" " +setlocal makeprg=go\ build let @e = "^iif err = A; err != nil {o " let @r = "oif err != nil { }O " -- 2.44.0