From 6770e0d484dafbbf75b61c33c2dc0844809cc82d Mon Sep 17 00:00:00 2001 From: Vanessa McHale Date: Fri, 1 Mar 2019 20:26:29 -0600 Subject: [PATCH] package publish --- ftplugin/ats.vim | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ftplugin/ats.vim b/ftplugin/ats.vim index 47dcdeb..24383cc 100644 --- a/ftplugin/ats.vim +++ b/ftplugin/ats.vim @@ -28,13 +28,6 @@ setlocal commentstring=(*\ %s\ *) " use patscc as a checker let g:syntastic_ats_checkers = [ 'patscc' ] -function! ATSStripTrailingWhitespace() - let myline=line('.') - let mycolumn = col('.') - exec 'silent %s/ *$//' - call cursor(myline, mycolumn) -endfunction - " function to format our buffer function! AtsFormat() let cursor = getpos('.') @@ -42,7 +35,6 @@ function! AtsFormat() exec 'silent !atsfmt -i ' . expand('%') exec 'e' call setpos('.', cursor) - call ATSStripTrailingWhitespace() endfunction if g:ats_use_ctags == 1