Remove unused argument

This commit is contained in:
Marco Hinz 2019-08-13 21:32:45 +02:00
parent 16fa49bda2
commit f32b69033b
No known key found for this signature in database
GPG Key ID: 1C980A1B657B4A4F

View File

@ -117,7 +117,7 @@ function! sy#util#popup_close() abort
endif endif
endfunction endfunction
function! sy#util#popup_create(hunkdiff, ...) abort function! sy#util#popup_create(hunkdiff) abort
let max_width = 100 let max_width = 100
let max_height = 16 let max_height = 16
let width = max(map(copy(a:hunkdiff), {_, v -> len(v)})) + 1 let width = max(map(copy(a:hunkdiff), {_, v -> len(v)})) + 1