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:
parent
8399c15510
commit
abc60e4b7d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user