projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb5852d
)
Use VIM's built-in shorthand for whitespace in regex.
author
Misha Brukman
<brukman+llvm@gmail.com>
Thu, 8 Jan 2009 02:17:30 +0000
(
02:17
+0000)
committer
Misha Brukman
<brukman+llvm@gmail.com>
Thu, 8 Jan 2009 02:17:30 +0000
(
02:17
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61906
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/vim/vimrc
patch
|
blob
|
history
diff --git
a/utils/vim/vimrc
b/utils/vim/vimrc
index 4be2b7f7934bd7c58daad5ee0beb801384d53130..43038399ea8d09cfc74b1ed12a2c9ae82c82ccf5 100644
(file)
--- 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