diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2009-01-08 02:17:30 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2009-01-08 02:17:30 +0000 |
commit | 417b311b77fa3259856b288019c9486654842108 (patch) | |
tree | c6085fd298d45780ee87ab8b55a9c2a7b92f1c17 /utils | |
parent | 5f5f7961ec1c5a73796e234b12390799eebe4554 (diff) | |
download | external_llvm-417b311b77fa3259856b288019c9486654842108.zip external_llvm-417b311b77fa3259856b288019c9486654842108.tar.gz external_llvm-417b311b77fa3259856b288019c9486654842108.tar.bz2 |
Use VIM's built-in shorthand for whitespace in regex.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61906 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/vim/vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/vim/vimrc b/utils/vim/vimrc index 4be2b7f..4303839 100644 --- a/utils/vim/vimrc +++ b/utils/vim/vimrc @@ -50,7 +50,7 @@ autocmd FileType make set noexpandtab " Useful macros for cleaning up code to conform to LLVM coding guidelines " Delete trailing whitespace and tabs at the end of each line -command! DeleteTrailingWs :%s/[\ \t]\+$// +command! DeleteTrailingWs :%s/\s\+$// " Convert all tab characters to two spaces command! Untab :%s/\t/ /g |