Fix undefined variable

This commit is contained in:
Rick
2018-09-13 22:51:08 +08:00
committed by Tim Pope
parent af76267c6a
commit 6cd8ff77f0

View File

@@ -3405,6 +3405,7 @@ function! s:Browse(bang,line1,count,...) abort
\ 'line1': line1, \ 'line1': line1,
\ 'line2': line2} \ 'line2': line2}
let url = ''
for Handler in get(g:, 'fugitive_browse_handlers', []) for Handler in get(g:, 'fugitive_browse_handlers', [])
let url = call(Handler, [copy(opts)]) let url = call(Handler, [copy(opts)])
if !empty(url) if !empty(url)