Fix count on :Gstatus maps

This commit is contained in:
Tim Pope 2019-07-04 06:50:37 -04:00
parent fc6643c318
commit 51c54138ba

View File

@ -2143,7 +2143,7 @@ endfunction
function! s:Selection(arg1, ...) abort function! s:Selection(arg1, ...) abort
if a:arg1 ==# 'n' if a:arg1 ==# 'n'
let arg1 = line('.') let arg1 = line('.')
let arg2 = v:count let arg2 = -v:count
elseif a:arg1 ==# 'v' elseif a:arg1 ==# 'v'
let arg1 = line("'<") let arg1 = line("'<")
let arg2 = line("'>") let arg2 = line("'>")