Skip to content

Commit

Permalink
Allow :FocusDispatch :Make
Browse files Browse the repository at this point in the history
References: #350
  • Loading branch information
tpope committed Sep 2, 2024
1 parent 351940a commit a2ff28a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/dispatch.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ function! dispatch#focus_command(bang, args, count, ...) abort
let [args, opts] = dispatch#focus(line(a:args[1]), opts)
elseif args =~# '^:\d*Dispatch$'
let [args, opts] = dispatch#focus(+matchstr(a:args, '\d\+'), opts)
elseif args =~# '^--\S\@!' && !has_key(opts, 'compiler')
elseif args =~# '^\%(--\|:[Mm]ake\)\S\@!' && !has_key(opts, 'compiler')
let args = s:default_args(args, -1)
let args = s:build_make(&makeprg, args)
let args = dispatch#expand(args, 0)
Expand Down

0 comments on commit a2ff28a

Please sign in to comment.