aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/perl/check.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/after/ftplugin/perl/check.vim')
-rw-r--r--vim/after/ftplugin/perl/check.vim3
1 files changed, 1 insertions, 2 deletions
diff --git a/vim/after/ftplugin/perl/check.vim b/vim/after/ftplugin/perl/check.vim
index ebfbcea6..1a3a6dc8 100644
--- a/vim/after/ftplugin/perl/check.vim
+++ b/vim/after/ftplugin/perl/check.vim
@@ -14,8 +14,7 @@ if !exists('*s:PerlCheck')
function s:PerlCheck()
let l:save_makeprg = &l:makeprg
let l:save_errorformat = &l:errorformat
- let &l:makeprg = 'perl -c %:S'
- let &l:errorformat = '%m at %f line %l.'
+ compiler perl
lmake!
let &l:makeprg = l:save_makeprg
let &l:errorformat = l:save_errorformat