Skip to content

Commit dcce6d3

Browse files
committed
Fix title for :Dispatch on tmux
1 parent 9f0ad9f commit dcce6d3

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
@@ -40,7 +40,7 @@ function! dispatch#tmux#make(request) abort
4040
\ call('dispatch#prepare_make',
4141
\ [a:request] + (pipepane ? [a:request.expanded] : [])))
4242

43-
let title = shellescape(get(a:request, 'compiler', 'make'))
43+
let title = shellescape(get(a:request, 'title', get(a:request, 'compiler', 'make')))
4444
if get(a:request, 'background', 0)
4545
let cmd = 'new-window -d -n '.title
4646
elseif has('gui_running') || empty($TMUX) || (!empty(''.session) && session !=# system('tmux display-message -p "#S"')[0:-2])

0 commit comments

Comments
 (0)