mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 20:59:51 +00:00
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
This commit is contained in:
parent
cb5852d1f7
commit
5539a1ecda
@ -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…
Reference in New Issue
Block a user