File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ function! VimuxOpenRunner() abort
101101 return
102102 endif
103103 let existingId = s: existingRunnerId ()
104- if existingId !=# ' '
104+ if ! exists ( ' g:VimuxRunnerIndex ' ) && existingId !=# ' '
105105 let g: VimuxRunnerIndex = existingId
106106 else
107107 let extraArguments = VimuxOption (' VimuxOpenExtraArgs' )
@@ -355,9 +355,8 @@ function! s:hasRunner() abort
355355 if get (g: , ' VimuxRunnerIndex' , ' ' ) == ? ' '
356356 return v: false
357357 endif
358- let l: runnerType = VimuxOption (' VimuxRunnerType' )
359- let l: command = ' list-' .runnerType." s -F '#{" .runnerType." _id}'"
360- let l: found = match (VimuxTmux (l: command ), g: VimuxRunnerIndex )
358+ let runnerType = VimuxOption (' VimuxRunnerType' )
359+ let l: found = match (VimuxTmux (' list-' .runnerType." s -a -F '#{" .runnerType." _id}'" ), g: VimuxRunnerIndex )
361360 return l: found != -1
362361endfunction
363362
You can’t perform that action at this time.
0 commit comments