forked from luna/vim-rana-local
move up nested if statement
This commit is contained in:
parent
be69fd223d
commit
a8a7950f80
1 changed files with 18 additions and 20 deletions
|
@ -337,8 +337,7 @@ let s:VERSION = '6.0.1'
|
||||||
if extra_heartbeats != ''
|
if extra_heartbeats != ''
|
||||||
call jobsend(job, extra_heartbeats . "\n")
|
call jobsend(job, extra_heartbeats . "\n")
|
||||||
endif
|
endif
|
||||||
else
|
elseif s:IsWindows()
|
||||||
if s:IsWindows()
|
|
||||||
if s:is_debug_on
|
if s:is_debug_on
|
||||||
if extra_heartbeats != ''
|
if extra_heartbeats != ''
|
||||||
let stdout = system('(' . s:JoinArgs(cmd) . ')', extra_heartbeats)
|
let stdout = system('(' . s:JoinArgs(cmd) . ')', extra_heartbeats)
|
||||||
|
@ -363,7 +362,6 @@ let s:VERSION = '6.0.1'
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
|
|
||||||
" restore shell
|
" restore shell
|
||||||
let [&shell, &shellcmdflag, &shellredir] = [sh, shellcmdflag, shrd]
|
let [&shell, &shellcmdflag, &shellredir] = [sh, shellcmdflag, shrd]
|
||||||
|
|
Loading…
Reference in a new issue