diff options
Diffstat (limited to '.vim/ftplugin')
-rw-r--r-- | .vim/ftplugin/svn.vim | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.vim/ftplugin/svn.vim b/.vim/ftplugin/svn.vim index d453ea0..7b2e5c1 100644 --- a/.vim/ftplugin/svn.vim +++ b/.vim/ftplugin/svn.vim @@ -29,9 +29,11 @@ function! Svn_diff_windows() if line =~ '^M' let file = substitute(line, '\v^MM?\s*(.*)\s*$', '\1', '') let list_of_files = list_of_files . ' '.file - endif - if line =~ '^A' - let file = substitute(line, '\v^A\s*[+]*\s*(.*)\s*$', '\1', '') + elseif line =~ '^A' + let file = substitute(line, '\v^AM?\s*[+]*\s*(.*)\s*$', '\1', '') + let list_of_files = list_of_files . ' '.file + elseif line =~ '^D' + let file = substitute(line, '\v^D\s*(.*)\s*$', '\1', '') let list_of_files = list_of_files . ' '.file endif |