Minimal, asynchronous quickfix commands for Vim 8.0
git clone git://
Log | Files | Refs | README | LICENSE

commit 4bf51a1ccc8317267ef3659b3e3653497b7e964b
parent 150b4bed955492051237b982393bbdb69e7a043b
Author: Daniel Moch <>
Date:   Mon, 30 Jul 2018 06:27:57 -0400

Remove trailing whitespace

Diffstat: | 4++--
Mdoc/makejob.txt | 4++--
Mplugin/makejob.vim | 6+++---
3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/ b/ @@ -30,7 +30,7 @@ below. ### Pathogen -`cd ~/.vim/bundle` +`cd ~/.vim/bundle` `git clone` ### Plug.vim @@ -80,7 +80,7 @@ features out of the box. Here's a brief rundown. With no prior configuration, `:make` will run the `make` program with no arguments, and populate the Quickfix list with any errors the process encounters. It's possible to change that behavior in one of two ways. -The hard way is to manually use `:set makeprg` to change the program +The hard way is to manually use `:set makeprg` to change the program something else, and _then_ use `:set errorformat` to configure the format of the errors to look for. This gets pretty hairy, and so we're all better off trying to avoid this in favor of the easy way: diff --git a/doc/makejob.txt b/doc/makejob.txt @@ -66,14 +66,14 @@ LgrepaddJob[!] {filename} Same as ":GrepaddJob", but add findings to the *makejob-MakeJobStop* *:MakeJobStop* MakeJobStop [{MakeJob}] Use this command to cancel a running MakeJob. - + Without an argument, the command will cancel a running MakeJob in one of two ways: 1. If the current buffer spawned a MakeJob, that job will be stopped. 2. If the current buffer is displaying MakeJob output, that job will stopped. - + MakeJobStop also accepts as an argument the name of the MakeJob to stop (e.g., ":MakeJobStop make"). Command completion can be used to make diff --git a/plugin/makejob.vim b/plugin/makejob.vim @@ -102,10 +102,10 @@ function! s:JobHandler(channel) abort else call setqflist([], 'a', {'title':l:job['prog']}) endif - silent execute l:job['outbufnr'].'bwipe!' + silent execute l:job['outbufnr'].'bwipe!' call win_gotoid(l:curwinid) - let l:initqf = l:lmake ? getloclist(bufwinnr(l:srcbuf[0])) : + let l:initqf = l:lmake ? getloclist(bufwinnr(l:srcbuf[0])) : \ getqflist() let l:makeoutput = 0 let l:idx = 0 @@ -227,7 +227,7 @@ function! s:MakeJob(grep, lmake, grepadd, bang, ...) abort let l:makejob = job_start(l:make, l:opts) let b:makejob = l:makejob - let s:jobinfo[split(job_getchannel(b:makejob))[1]] = + let s:jobinfo[split(job_getchannel(b:makejob))[1]] = \ { 'prog': l:prog,'lmake': a:lmake, \ 'outbufnr': l:outbufnr, \ 'srcbufnr': winbufnr(0),