diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-08-08 14:25:14 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-08-08 16:48:53 +0200 |
commit | d14830e5398ff38652c2f27053332209c45efa4f (patch) | |
tree | da3ef7da4cd68aa897b37f17d4fe335e18dbacb6 | |
parent | 4db5a4cc4effb2818809469e92859798a756919a (diff) |
Use a silent mapping and write files
-rw-r--r-- | .exrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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$" |