From c4f6c187569ce8941683e8427179e8e28b0765ad Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 9 Aug 2024 19:39:49 +0200 Subject: Formatting fixes --- .exrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.exrc b/.exrc index 09b751a..120d08b 100644 --- a/.exrc +++ b/.exrc @@ -10,8 +10,10 @@ function s:SaveExcursion(cmd) call winrestview(l:win) endfunction -autocmd BufNewFile,BufRead */data/mintages/* setfiletype mintage -autocmd BufNewFile,BufRead */cmd/mfmt/* setlocal makeprg=go\ build\ ./cmd/mfmt +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