summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vim/ftplugin/svn.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/.vim/ftplugin/svn.vim b/.vim/ftplugin/svn.vim
index e3eec77..d453ea0 100644
--- a/.vim/ftplugin/svn.vim
+++ b/.vim/ftplugin/svn.vim
@@ -31,7 +31,7 @@ function! Svn_diff_windows()
let list_of_files = list_of_files . ' '.file
endif
if line =~ '^A'
- let file = substitute(line, '\v^A\s*(.*)\s*$', '\1', '')
+ let file = substitute(line, '\v^A\s*[+]*\s*(.*)\s*$', '\1', '')
let list_of_files = list_of_files . ' '.file
endif