1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Use VIM's built-in shorthand for whitespace in regex.

llvm-svn: 61906
This commit is contained in:
Misha Brukman 2009-01-08 02:17:30 +00:00
parent 8399c15510
commit abc60e4b7d

View File

@ -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