[vim] strip trailing spaces

This commit is contained in:
Josh Sherman 2017-09-27 11:54:06 -05:00
parent 1fd05d8762
commit 52870676fb
No known key found for this signature in database
GPG key ID: 55B058A80530EF22

View file

@ -12,3 +12,5 @@ set tabstop=2
autocmd FileType php setlocal sw=4 sts=4 ts=4 autocmd FileType php setlocal sw=4 sts=4 ts=4
autocmd FileType gitcommit,markdown,text setlocal nosi spell tw=80 wm=2 autocmd FileType gitcommit,markdown,text setlocal nosi spell tw=80 wm=2
autocmd BufWritePre * :%s/\s\+$//e