projects
/
dotfiles.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
555295c
)
go build :make
author
Sergey Matveev <stargrave@stargrave.org>
Sat, 31 Jul 2021 09:18:51 +0000 (12:18 +0300)
committer
Sergey Matveev <stargrave@stargrave.org>
Sat, 31 Jul 2021 09:18:51 +0000 (12:18 +0300)
vim/.vim/ftplugin/go/autos.vim
patch
|
blob
|
history
diff --git
a/vim/.vim/ftplugin/go/autos.vim
b/vim/.vim/ftplugin/go/autos.vim
index f241d49d3c0832f3ec5c120c7b757338256f3120..56267cf80a6c9d3110876941653c78f1848a95f3 100644
(file)
--- 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 =
\e
A; err != nil {
\e
o "
let @r = "oif err != nil {
\r
}
\e
O "