mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-16 15:23: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)
|
let efile = s:Expand(a:file)
|
||||||
endif
|
endif
|
||||||
if efile =~# '^https\=://'
|
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]
|
return [url, a:wants_cmd ? lnum : 0]
|
||||||
endif
|
endif
|
||||||
let url = s:Generate(efile, a:dir)
|
let url = s:Generate(efile, a:dir)
|
||||||
|
|||||||
Reference in New Issue
Block a user