Allow :Gblame ^boundary to use scrollbind
This commit is contained in:
parent
69bf0e3469
commit
11691b38bb
@ -4672,7 +4672,13 @@ function! s:BlameSubcommand(line1, count, range, bang, mods, args) abort
|
|||||||
echohl NONE
|
echohl NONE
|
||||||
return ''
|
return ''
|
||||||
endif
|
endif
|
||||||
elseif arg !~# '^-'
|
elseif arg ==# '--'
|
||||||
|
if i + 1 < len(flags)
|
||||||
|
call extend(files, remove(flags, i + 1, -1))
|
||||||
|
endif
|
||||||
|
call remove(flags, i)
|
||||||
|
break
|
||||||
|
elseif arg !~# '^-' && (s:HasOpt(flags, '--not') || arg !~# '^\^')
|
||||||
if index(flags, '--') >= 0
|
if index(flags, '--') >= 0
|
||||||
call add(commits, remove(flags, i))
|
call add(commits, remove(flags, i))
|
||||||
continue
|
continue
|
||||||
@ -4691,12 +4697,6 @@ function! s:BlameSubcommand(line1, count, range, bang, mods, args) abort
|
|||||||
endtry
|
endtry
|
||||||
call add(files, remove(flags, i))
|
call add(files, remove(flags, i))
|
||||||
continue
|
continue
|
||||||
elseif arg ==# '--'
|
|
||||||
if i + 1 < len(flags)
|
|
||||||
call extend(files, remove(flags, i + 1, -1))
|
|
||||||
endif
|
|
||||||
call remove(flags, i)
|
|
||||||
break
|
|
||||||
endif
|
endif
|
||||||
let i += 1
|
let i += 1
|
||||||
endwhile
|
endwhile
|
||||||
|
Loading…
Reference in New Issue
Block a user