Skip to content

Commit 3505862

Browse files
committed
Make tmux pipe-pane opt-in
Resolves: #322 Resolves: #192 Resolves: #182 References: #222
1 parent f2ae53d commit 3505862

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/dispatch/tmux.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function! dispatch#tmux#handle(request) abort
3939
endfunction
4040

4141
function! dispatch#tmux#make(request) abort
42-
let pipepane = (&shellpipe ==# '2>&1| tee' || &shellpipe ==# '|& tee')
42+
let pipepane = get(g:, 'dispatch_tmux_pipe_pane', 0)
4343
\ && a:request.format !~# '%\\[er]'
4444
let session = get(g:, 'tmux_session', '')
4545
let script = dispatch#isolate(a:request, ['TMUX', 'TMUX_PANE'],

0 commit comments

Comments
 (0)