Tweak s:Dir() usage

This commit is contained in:
Tim Pope 2019-07-09 06:45:50 -04:00
parent 102b3a50e2
commit cecfc06be3

View File

@ -3497,7 +3497,7 @@ function! s:BlurStatus() abort
endfunction
function! s:OpenExec(cmd, mods, args, ...) abort
let dir = s:Dir(a:0 ? a:1 : -1)
let dir = a:0 ? s:Dir(a:1) : s:Dir()
let args = s:shellesc(a:args)
let temp = tempname()
let git = s:UserCommand(dir)