Skip to content

Commit c58708e

Browse files
committed
Avoid long title for embedded start task
1 parent 8e046e3 commit c58708e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/dispatch.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ function! s:parse_start(command, count) abort
504504
elseif empty(command) && len(s:efm_literal(['start', 'default_start'], &errorformat))
505505
let task = s:efm_literal(['start', 'default_start'], &errorformat)
506506
let command = &makeprg . ' ' . task
507-
if !has_key(opts, 'title')
507+
if !has_key(opts, 'title') && task =~# '^\w\S\{,19\}$'
508508
let opts.title = s:current_compiler('make') . ' ' . task
509509
endif
510510
if !has_key(opts, 'directory')

0 commit comments

Comments
 (0)