1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-25 12:30:32 +01:00

Always remove trailing whitespace in vimrc.

This commit is contained in:
Bert Peters
2015-11-30 09:32:01 +01:00
parent 902a8d754b
commit f6d910386b

View File

@@ -25,3 +25,6 @@ let g:syntastic_cpp_compiler="g++"
let g:syntastic_cpp_compiler_options = "-std=c++11 -Wall -Wextra -Wpedantic"
autocmd Filetype python setlocal expandtab tabstop=4 shiftwidth=4
" Remove trailing whitespace, always.
autocmd BufWritePre * :%s/\s\+$//e