Skip to main content
2 of 2
added 10 characters in body
statox
  • 50.6k
  • 19
  • 153
  • 231

Silencing :make command

I am setting makeprg to perl % to run my Perl script (if there's a better way, I'm up for that, too), and it works just fine, except that it reproduces the first line of output prefixed with the text "(1 of n)", where n seems to be the total output line count.

I'd like to suppress that, leaving me with just what my Perl script produces. Can I suppress that report line from :make? The .vimrc line that sets up makeprg is:

autocmd FileType perl   :set makeprg=perl\ %