mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-09 20:13:46 -05:00
Tweak s:Dir() usage
This commit is contained in:
@@ -3497,7 +3497,7 @@ function! s:BlurStatus() abort
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:OpenExec(cmd, mods, args, ...) abort
|
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 args = s:shellesc(a:args)
|
||||||
let temp = tempname()
|
let temp = tempname()
|
||||||
let git = s:UserCommand(dir)
|
let git = s:UserCommand(dir)
|
||||||
|
|||||||
Reference in New Issue
Block a user