mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-12 13:23:52 -05:00
Allow :Gblame ^boundary to use scrollbind
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user