Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

allow for custom perl efm program

  • Loading branch information...
commit c9a23c0bdbdd44dc859f47182b0342be4e2802ee 1 parent 943d888
Alan Young harleypig authored scrooloose committed

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. +5 1 syntax_checkers/perl.vim
6 syntax_checkers/perl.vim
@@ -23,8 +23,12 @@ if !executable("perl")
23 23 finish
24 24 endif
25 25
  26 +if !exists("g:syntastic_perl_efm_program")
  27 + let g:syntastic_perl_efm_program = $VIMRUNTIME.'/tools/efm_perl.pl -c'
  28 +endif
  29 +
26 30 function! SyntaxCheckers_perl_GetLocList()
27   - let makeprg = $VIMRUNTIME.'/tools/efm_perl.pl -c '.shellescape(expand('%'))
  31 + let makeprg = g:syntastic_perl_efm_program . ' ' . shellescape(expand('%'))
28 32 let errorformat = '%f:%l:%m'
29 33
30 34 return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })

0 comments on commit c9a23c0

Please sign in to comment.
Something went wrong with that request. Please try again.