summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-08-08 14:25:14 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-08-08 16:48:53 +0200
commitd14830e5398ff38652c2f27053332209c45efa4f (patch)
treeda3ef7da4cd68aa897b37f17d4fe335e18dbacb6
parent4db5a4cc4effb2818809469e92859798a756919a (diff)
Use a silent mapping and write files
-rw-r--r--.exrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.exrc b/.exrc
index f61c262..7af55de 100644
--- a/.exrc
+++ b/.exrc
@@ -11,6 +11,6 @@ endfunction
autocmd BufWritePre *.go call s:SaveExcursion("gofmt -s")
autocmd BufWritePre *.templ call s:SaveExcursion("templ fmt")
-nnoremap gM :make all-i18n<CR>
+nnoremap <silent> gM :wall \| make all-i18n<CR>
let g:netrw_list_hide .= ",.*_templ\\.go$"