mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-15 23:03:51 -05:00
Fix variable scope
This commit is contained in:
@@ -6113,7 +6113,7 @@ function! s:OpenExpand(dir, file, wants_cmd) abort
|
||||
let efile = s:Expand(a:file)
|
||||
endif
|
||||
if efile =~# '^https\=://'
|
||||
let [url, lnum] = s:ResolveUrl(efile, dir)
|
||||
let [url, lnum] = s:ResolveUrl(efile, a:dir)
|
||||
return [url, a:wants_cmd ? lnum : 0]
|
||||
endif
|
||||
let url = s:Generate(efile, a:dir)
|
||||
|
||||
Reference in New Issue
Block a user