From 417b3bb818f86d2a92dbb0ee3857af7de1ade8c8 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 22 Sep 2019 21:25:43 -0400 Subject: [PATCH] Fix off by 2 error staging multiple files --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 581fe26..f8bc4fc 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -2478,7 +2478,7 @@ function! s:Selection(arg1, ...) abort endif let first = arg1 if arg2 < 0 - let last = first - arg2 + 1 + let last = first - arg2 - 1 elseif arg2 > 0 let last = arg2 else