Skip to content

Commit 6853b08

Browse files
committed
Use word end for regex
1 parent 36a82ee commit 6853b08

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
@@ -333,7 +333,7 @@ function! s:hasRunner() abort
333333
return v:false
334334
endif
335335
let l:command = "list-panes -a -F '#{pane_id}'"
336-
let l:found = match(VimuxTmux(l:command), g:VimuxRunnerIndex.'\n')
336+
let l:found = match(VimuxTmux(l:command), g:VimuxRunnerIndex.'\>')
337337
return l:found != -1
338338
endfunction
339339

0 commit comments

Comments
 (0)