Skip to content

Commit

Permalink
Don't tmux pipe-pane if efm targets \r or \e
Browse files Browse the repository at this point in the history
If the user cares about these special characters, make sure the captured
output is identical to the other adapters.
  • Loading branch information
tpope committed Jun 20, 2014
1 parent 3890dff commit e204799
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion autoload/dispatch/tmux.vim
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ function! dispatch#tmux#handle(request) abort
endfunction

function! dispatch#tmux#make(request) abort
let pipepane = &shellpipe ==# '2>&1| tee' || &shellpipe ==# '|& tee'
let pipepane = (&shellpipe ==# '2>&1| tee' || &shellpipe ==# '|& tee')
\ && a:request.format !~# '%\\[er]'
let session = get(g:, 'tmux_session', '')
let script = dispatch#isolate(['TMUX', 'TMUX_PANE'],
\ call('dispatch#prepare_make',
Expand Down

0 comments on commit e204799

Please sign in to comment.