Skip to content

Commit c681831

Browse files
committed
Include session name when checking if runner exists
1 parent 2285cef commit c681831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/vimux.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,5 +199,5 @@ function! _VimuxTmuxProperty(property)
199199
endfunction
200200

201201
function! _VimuxHasRunner(index)
202-
return match(_VimuxTmux("list-"._VimuxRunnerType()."s -a"), a:index.":")
202+
return match(_VimuxTmux("list-"._VimuxRunnerType()."s -a"), _VimuxTmuxSession().":".a:index.":")
203203
endfunction

0 commit comments

Comments
 (0)