Fix syntax error in autoload/fugitive.vim

The error was introduced in ed9e21fb9b
This commit is contained in:
lakshayg
2024-05-14 22:14:44 -07:00
committed by Tim Pope
parent ed9e21fb9b
commit 5b0347b523

View File

@@ -5466,7 +5466,7 @@ function! s:ToolItems(state, from, to, offsets, text, ...) abort
endif
call add(items, item)
endfor
if get(offsets, 0, 0) >= 0
if get(a:offsets, 0, 0) >= 0
let items[-1].context = {'diff': items[0:-2]}
endif
return [items[-1]]