mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-12 05:13:53 -05:00
Remove dead code
The use of remove() here wouldn't actually work as it expects an index, not a value.
This commit is contained in:
@@ -6983,13 +6983,6 @@ function! s:BlameJump(suffix, ...) abort
|
||||
let offset = line('.') - line('w0')
|
||||
let state = s:TempState()
|
||||
let flags = get(state, 'blame_flags', [])
|
||||
if a:0 && a:1
|
||||
if s:HasOpt(flags, '--reverse')
|
||||
call remove(flags, '--reverse')
|
||||
else
|
||||
call add(flags, '--reverse')
|
||||
endif
|
||||
endif
|
||||
let blame_bufnr = s:BlameBufnr()
|
||||
if blame_bufnr > 0
|
||||
let bufnr = bufnr('')
|
||||
|
||||
Reference in New Issue
Block a user