aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2020-04-24 13:02:28 +0100
committerJuan J. Martinez <jjm@usebox.net>2022-05-29 22:57:29 +0100
commitbbf48a354983f3e12a3ff9d587a6f1e770b4e7e2 (patch)
tree23eeedc5f3cdad64220b7f4b18be47915cef98df
parent594ef25b2f90580bd5087b115ba97b5c2ad1d677 (diff)
downloaddotnvim-bbf48a354983f3e12a3ff9d587a6f1e770b4e7e2.tar.gz
dotnvim-bbf48a354983f3e12a3ff9d587a6f1e770b4e7e2.zip
Trying autoformatters
-rw-r--r--vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index d118a5e..12f7bb8 100644
--- a/vimrc
+++ b/vimrc
@@ -87,6 +87,8 @@ set laststatus=2
"" vim-autoformat (C-F5)
noremap <F29> :Autoformat<CR>
+au BufWrite *.py,*.c,*.h :Autoformat
+au BufWrite *.z80 :Autoformat asm
" enable omnicompletion
set omnifunc=syntaxcomplete#Complete