package publish

This commit is contained in:
Vanessa McHale 2017-12-23 16:15:39 -06:00
parent cae1707b71
commit 4a9dace62f
2 changed files with 7 additions and 1 deletions

View file

@ -32,6 +32,10 @@ function! AtsFormat()
call setpos('.', cursor)
endfunction
augroup ats
autocmd BufWritePre *.ats,*.dats,*.cats,*.sats execute 'lcd %:p:h'
augroup END
" format on write
if g:ats_autoformat == 1
augroup ats

View file

@ -11,7 +11,9 @@ function! SyntaxCheckers_ats_patscc_GetLocList() dict
\ 'args': '-DATS_MEMALLOC_LIBC -cleanaft',
\ 'fname': shellescape(expand('%') )})
let errorformat = '%f:%m'
let errorformat =
\ 'exit(ATS):%m,' .
\ '%f:%m'
let loclist = SyntasticMake({
\ 'makeprg': makeprg,