From a804002c21832d1259abe740f4484c52c4d71501 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Sun, 15 Apr 2018 17:49:03 +0200 Subject: [PATCH] CVS: fix regexp --- autoload/sy/repo.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/sy/repo.vim b/autoload/sy/repo.vim index d9a4a00..75c4217 100644 --- a/autoload/sy/repo.vim +++ b/autoload/sy/repo.vim @@ -171,7 +171,7 @@ function! sy#repo#get_diff_cvs(sy, exitval, diff) abort let [found_diff, diff] = [0, []] if a:exitval == 1 for diffline in a:diff - if diffline =~ '+++' + if diffline =~ '^+++' let [found_diff, diff] = [1, a:diff] break endif