mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-04 19:28:58 +08:00
Fix variable scope
This commit is contained in:
1 parent
df36d194ce
commit
46eaf8918b
1 file changed
+1
-1
@@ -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