diff --git a/ftplugin/ats.vim b/ftplugin/ats.vim index 24383cc..5ae3761 100644 --- a/ftplugin/ats.vim +++ b/ftplugin/ats.vim @@ -32,7 +32,7 @@ let g:syntastic_ats_checkers = [ 'patscc' ] function! AtsFormat() let cursor = getpos('.') exec 'normal! gg' - exec 'silent !atsfmt -i ' . expand('%') + exec 'silent !atsfmt -i ' . expand('%') . ' 2>/dev/null' exec 'e' call setpos('.', cursor) endfunction