We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89b0d59 commit f0785ebCopy full SHA for f0785eb
1 file changed
autoload/javaunit/util.vim
@@ -33,7 +33,9 @@ function! javaunit#util#Psep() abort
33
endfunction
34
35
function! javaunit#util#ExecCMD(cmd)
36
- if exists(':Unite')
+ if exists('g:spacevim_version')
37
+ call SpaceVim#plugins#runner#open(a:cmd)
38
+ elseif exists(':Unite')
39
call unite#start([['output/shellcmd', s:EscapeCMD(a:cmd)]], {'log': 1, 'wrap': 1,'start_insert':0})
40
else
41
call javaunit#win#OpenWin(a:cmd)
0 commit comments