mirror of
https://github.com/bertptrs/vimconfig.git
synced 2025-12-25 20:40:32 +01:00
Always remove trailing whitespace in vimrc.
This commit is contained in:
@@ -25,3 +25,6 @@ let g:syntastic_cpp_compiler="g++"
|
|||||||
let g:syntastic_cpp_compiler_options = "-std=c++11 -Wall -Wextra -Wpedantic"
|
let g:syntastic_cpp_compiler_options = "-std=c++11 -Wall -Wextra -Wpedantic"
|
||||||
|
|
||||||
autocmd Filetype python setlocal expandtab tabstop=4 shiftwidth=4
|
autocmd Filetype python setlocal expandtab tabstop=4 shiftwidth=4
|
||||||
|
|
||||||
|
" Remove trailing whitespace, always.
|
||||||
|
autocmd BufWritePre * :%s/\s\+$//e
|
||||||
|
|||||||
Reference in New Issue
Block a user