diff options
| author | Thomas Voss <mail@thomasvoss.com> | 2024-08-09 19:39:49 +0200 |
|---|---|---|
| committer | Thomas Voss <mail@thomasvoss.com> | 2024-08-09 19:39:49 +0200 |
| commit | c4f6c187569ce8941683e8427179e8e28b0765ad (patch) | |
| tree | cb5cdf10111240b123a7ebd75d5f819ccb546ed3 | |
| parent | 6153e9f7c4545be095383f1b91b0084fc2fa7211 (diff) | |
Formatting fixes
| -rw-r--r-- | .exrc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 <buffer> \ call s:SaveExcursion("gofmt -s") |