forked from logan/dotfiles
Remove useless whitespace from all files, not just Python ones
This commit is contained in:
parent
79955e22f4
commit
efd7831320
1 changed files with 1 additions and 1 deletions
2
.vimrc
2
.vimrc
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue