From 5b0347b5231a0f40abc311ccaf7bbf02d3ce3a5a Mon Sep 17 00:00:00 2001 From: lakshayg Date: Tue, 14 May 2024 22:14:44 -0700 Subject: [PATCH] Fix syntax error in autoload/fugitive.vim The error was introduced in ed9e21fb9bdbda7989c1c9190ca830d36a5df4e2 --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 81a0ab5..0a007bc 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -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]]