From 6153e9f7c4545be095383f1b91b0084fc2fa7211 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 9 Aug 2024 19:37:10 +0200 Subject: Set makeprg for mfmt --- .exrc | 1 + 1 file changed, 1 insertion(+) 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 \ call s:SaveExcursion("gofmt -s") -- cgit v1.2.3