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)
|
call setpos('.', cursor)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
augroup ats
|
||||||
|
autocmd BufWritePre *.ats,*.dats,*.cats,*.sats execute 'lcd %:p:h'
|
||||||
|
augroup END
|
||||||
|
|
||||||
" format on write
|
" format on write
|
||||||
if g:ats_autoformat == 1
|
if g:ats_autoformat == 1
|
||||||
augroup ats
|
augroup ats
|
||||||
|
|
|
@ -11,7 +11,9 @@ function! SyntaxCheckers_ats_patscc_GetLocList() dict
|
||||||
\ 'args': '-DATS_MEMALLOC_LIBC -cleanaft',
|
\ 'args': '-DATS_MEMALLOC_LIBC -cleanaft',
|
||||||
\ 'fname': shellescape(expand('%') )})
|
\ 'fname': shellescape(expand('%') )})
|
||||||
|
|
||||||
let errorformat = '%f:%m'
|
let errorformat =
|
||||||
|
\ 'exit(ATS):%m,' .
|
||||||
|
\ '%f:%m'
|
||||||
|
|
||||||
let loclist = SyntasticMake({
|
let loclist = SyntasticMake({
|
||||||
\ 'makeprg': makeprg,
|
\ 'makeprg': makeprg,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue