summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.exrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.exrc b/.exrc
index 7d08655..09b751a 100644
--- a/.exrc
+++ b/.exrc
@@ -11,6 +11,7 @@ function s:SaveExcursion(cmd)
endfunction
autocmd BufNewFile,BufRead */data/mintages/* setfiletype mintage
+autocmd BufNewFile,BufRead */cmd/mfmt/* setlocal makeprg=go\ build\ ./cmd/mfmt
autocmd FileType go autocmd BufWritePre <buffer>
\ call s:SaveExcursion("gofmt -s")