Skip to content

Commit be29e76

Browse files
committed
Guard against broken requests setting up quickfix
References #235
1 parent e4828f2 commit be29e76

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
@@ -1068,7 +1068,7 @@ endfunction
10681068

10691069
function! dispatch#quickfix_init() abort
10701070
let request = s:request(w:quickfix_title)
1071-
if empty(request)
1071+
if !has_key(request, 'handler')
10721072
return
10731073
endif
10741074
let w:quickfix_title = ':Dispatch ' . escape(request.expanded, '%#') .

0 commit comments

Comments
 (0)