Skip to content

Commit a2ff28a

Browse files
committed
Allow :FocusDispatch :Make
References: #350
1 parent 351940a commit a2ff28a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/dispatch.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ function! dispatch#focus_command(bang, args, count, ...) abort
10501050
let [args, opts] = dispatch#focus(line(a:args[1]), opts)
10511051
elseif args =~# '^:\d*Dispatch$'
10521052
let [args, opts] = dispatch#focus(+matchstr(a:args, '\d\+'), opts)
1053-
elseif args =~# '^--\S\@!' && !has_key(opts, 'compiler')
1053+
elseif args =~# '^\%(--\|:[Mm]ake\)\S\@!' && !has_key(opts, 'compiler')
10541054
let args = s:default_args(args, -1)
10551055
let args = s:build_make(&makeprg, args)
10561056
let args = dispatch#expand(args, 0)

0 commit comments

Comments
 (0)