diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-08-09 19:37:10 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-08-09 19:37:10 +0200 |
commit | 6153e9f7c4545be095383f1b91b0084fc2fa7211 (patch) | |
tree | 850d705546f617c3eb9377b4b03f25a6d1e422bc | |
parent | 034fd21093b8f10bf4808c48d02d3836da897465 (diff) |
Set makeprg for mfmt
-rw-r--r-- | .exrc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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") |