From 685a8f67c8ff5bd79764a85e67a02359cef297e3 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 10 Feb 2010 14:14:51 +0100 Subject: Sunversion commit diff update --- .vim/ftplugin/svn.vim | 8 +++++--- 1 file 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 -- cgit v1.2.3-54-g00ecf