etc.
This commit is contained in:
parent
a610f4efce
commit
cae1707b71
2 changed files with 3 additions and 15 deletions
|
@ -20,8 +20,8 @@ au BufNewFile,BufRead *.*ats
|
|||
" set comment string to something prettier
|
||||
setlocal commentstring=(*\ %s\ *)
|
||||
|
||||
" register patscc as a checker
|
||||
" let g:syntastic_ats_checkers = [ 'patscc' ]
|
||||
" use patscc as a checker
|
||||
let g:syntastic_ats_checkers = [ 'patscc' ]
|
||||
|
||||
" function to format our buffer
|
||||
function! AtsFormat()
|
||||
|
@ -41,4 +41,4 @@ endif
|
|||
|
||||
" commands
|
||||
command -nargs=0 Format call AtsFormat()
|
||||
" command -nargs=0 Check SyntasticCheck patscc
|
||||
command -nargs=0 Check SyntasticCheck patscc
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
" Author: Vanessa McHale
|
||||
" Maintainer: Vanessa McHale <vamchale@gmail.com>
|
||||
|
||||
if exists('b:ats_plugin')
|
||||
finish
|
||||
endif
|
||||
let b:ats_plugin = 1
|
||||
|
||||
augroup ats
|
||||
exec 'autocmd BufWritePost *.*ats Check'
|
||||
exec 'command! Check SyntasticCheck | Error'
|
||||
augroup END
|
Loading…
Reference in a new issue