package publish
This commit is contained in:
parent
cae1707b71
commit
4a9dace62f
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue