Skip to content

Commit f0785eb

Browse files
committed
Use SpaceVim runner by default
1 parent 89b0d59 commit f0785eb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

autoload/javaunit/util.vim

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ function! javaunit#util#Psep() abort
3333
endfunction
3434

3535
function! javaunit#util#ExecCMD(cmd)
36-
if exists(':Unite')
36+
if exists('g:spacevim_version')
37+
call SpaceVim#plugins#runner#open(a:cmd)
38+
elseif exists(':Unite')
3739
call unite#start([['output/shellcmd', s:EscapeCMD(a:cmd)]], {'log': 1, 'wrap': 1,'start_insert':0})
3840
else
3941
call javaunit#win#OpenWin(a:cmd)

0 commit comments

Comments
 (0)