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