[vim] strip trailing spaces
This commit is contained in:
parent
1fd05d8762
commit
52870676fb
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue