diff --git a/ftplugin/ats.vim b/ftplugin/ats.vim index 27a7b61..d9c9fca 100644 --- a/ftplugin/ats.vim +++ b/ftplugin/ats.vim @@ -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 diff --git a/plugin/ats.vim b/plugin/ats.vim deleted file mode 100644 index 3ec4b2c..0000000 --- a/plugin/ats.vim +++ /dev/null @@ -1,12 +0,0 @@ -" Author: Vanessa McHale -" Maintainer: Vanessa McHale - -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