From 98913f1f83203a6f16f8587660bb32dd3fbfcae3 Mon Sep 17 00:00:00 2001 From: Vanessa McHale Date: Wed, 22 Aug 2018 23:41:32 -0500 Subject: [PATCH] package publish --- ftplugin/ats.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ftplugin/ats.vim b/ftplugin/ats.vim index 659284b..24383cc 100644 --- a/ftplugin/ats.vim +++ b/ftplugin/ats.vim @@ -19,7 +19,7 @@ endif " indentation rules set smarttab augroup ats - au! BufNewFile,BufRead *.*ats setl shiftwidth=2 + au BufNewFile,BufRead *.*ats setl shiftwidth=2 augroup END " set comment string to something prettier @@ -39,18 +39,18 @@ endfunction if g:ats_use_ctags == 1 augroup ats - autocmd! BufWritePost *.dats,*.cats,*.sats,*.hats silent !ctags -R . + autocmd BufWritePost *.dats,*.cats,*.sats,*.hats silent !ctags -R . augroup END endif " format on write if g:ats_autoformat == 1 augroup ats - autocmd! BufWritePost *.dats,*.sats,*.hats call AtsFormat() + autocmd BufWritePost *.dats,*.sats,*.hats call AtsFormat() augroup END endif " commands -command -nargs=0 Format call AtsFormat() +command! -nargs=0 Format call AtsFormat() map Clear :SyntasticReset