fix aut0ocommand to strip end of line ^M

This commit is contained in:
ManjaroOne666 2019-08-22 13:05:42 +01:00
commit 9c608ba84a

View file

@ -1,4 +1,8 @@
augroup RemoveControlM function! StripSpecialM() abort
" FIXME - need to work out how to pass without it being treated literally :%s/ $//
" autocmd * BufWritePre <buffer> %s/ $// endfunction
augroup RemoveControl
autocmd BufWritePre <buffer> call StripSpecialM()
augroup END augroup END