Remove useless whitespace from all files, not just Python ones

This commit is contained in:
Logan G 2021-11-27 19:34:35 -07:00
parent 79955e22f4
commit efd7831320
Signed by: logan
GPG key ID: E328528C921E7A7A

2
.vimrc
View file

@ -9,7 +9,7 @@ set nowrap " don't wrap lines
set tabstop=2 shiftwidth=2 " a tab is two spaces (or set this to 4)
set expandtab " use spaces, not tabs (optional)
set backspace=indent,eol,start " backspace through everything in insert mode
autocmd BufWritePre *.py :%s/\s\+$//e " Trim whitespace on file save
autocmd BufWritePre * :%s/\s\+$//e " Trim whitespace on file save
"" Searching
set hlsearch " highlight matches