remove the autocmd which removes spaces at end of lines -- define it in vimrc.local if you like