From f32b69033bb7a127fba26f5afe056af6efe0cd51 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Tue, 13 Aug 2019 21:32:45 +0200 Subject: [PATCH] Remove unused argument --- autoload/sy/util.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/sy/util.vim b/autoload/sy/util.vim index 09d3137..32dec25 100644 --- a/autoload/sy/util.vim +++ b/autoload/sy/util.vim @@ -117,7 +117,7 @@ function! sy#util#popup_close() abort endif endfunction -function! sy#util#popup_create(hunkdiff, ...) abort +function! sy#util#popup_create(hunkdiff) abort let max_width = 100 let max_height = 16 let width = max(map(copy(a:hunkdiff), {_, v -> len(v)})) + 1