aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/vim/vimrc b/utils/vim/vimrc
index 4be2b7f793..43038399ea 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