package publish
This commit is contained in:
parent
d53ff7ee34
commit
8a478cdbb1
3 changed files with 1 additions and 11 deletions
|
@ -36,10 +36,6 @@ function! AtsFormat()
|
|||
call setpos('.', cursor)
|
||||
endfunction
|
||||
|
||||
augroup ats
|
||||
autocmd BufWritePost *.ats,*.dats,*.sats,*.cats silent !rm -f a.out
|
||||
augroup END
|
||||
|
||||
if g:ats_use_ctags == 1
|
||||
augroup ats
|
||||
autocmd BufWritePost *.dats,*.cats,*.sats,*.hats silent !ctags -R .
|
||||
|
|
|
@ -5,10 +5,6 @@ if !exists('main_syntax')
|
|||
let main_syntax = 'ats'
|
||||
endif
|
||||
|
||||
"
|
||||
" lexical
|
||||
"
|
||||
|
||||
" comment highlighting
|
||||
syn keyword atsTodo TODO FIXME NOTE contained
|
||||
syn match atscCommentError display "\*/"
|
||||
|
@ -18,8 +14,6 @@ syn match atsNestedCommentError display "\*)"
|
|||
" mercilessly ripped from d.vim
|
||||
syn region atsNestedComment start="(\*" end="\*)" contains=atsNestedComment,atsTodo,@Spell
|
||||
syn match atsComment "//.*" contains=atsTodo
|
||||
" this rule needs to be after // (above) because of priority!
|
||||
syn region atsComment start="////" end="\%$" contains=atsTodo
|
||||
|
||||
"
|
||||
" denotation highlighting
|
||||
|
|
|
@ -8,7 +8,7 @@ let g:syntastic_ats_patscc_exec = 'patscc'
|
|||
function! SyntaxCheckers_ats_patscc_GetLocList() dict
|
||||
let makeprg = self.makeprgBuild({
|
||||
\ 'exe': self.getExec(),
|
||||
\ 'args': '-DATS_MEMALLOC_LIBC -cleanaft',
|
||||
\ 'args': '-DATS_MEMALLOC_LIBC -cleanaft -o /tmp/patscc-vim',
|
||||
\ 'fname': shellescape(expand('%') )})
|
||||
|
||||
let errorformat =
|
||||
|
|
Loading…
Reference in a new issue