Skip to content

Commit ddbb943

Browse files
committed
Match the whole runner ID
1 parent 7ced014 commit ddbb943

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/vimux.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ function! s:hasRunner() abort
329329
return v:false
330330
endif
331331
let l:command = "list-panes -a -F '#{pane_id}'"
332-
let l:found = match(VimuxTmux(l:command), g:VimuxRunnerIndex)
332+
let l:found = match(VimuxTmux(l:command), g:VimuxRunnerIndex.'\n')
333333
return l:found != -1
334334
endfunction
335335

0 commit comments

Comments
 (0)