Fix off by 2 error staging multiple files

This commit is contained in:
Tim Pope
2019-09-22 21:25:43 -04:00
parent edd054f76f
commit 417b3bb818

View File

@@ -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