Merge pull request #309 from harleypig/master
Add support for a custom efm perl program
This commit is contained in:
commit
7154419ffb
@ -27,8 +27,15 @@ if !executable("perl")
|
||||
finish
|
||||
endif
|
||||
|
||||
"remove '-w' switch to change all warnings to errors
|
||||
" Any command line parameters needed for this program should be included in
|
||||
" the variable declaration. This program should expect a single parameter;
|
||||
" the fully qualified filename of the file to be checked.
|
||||
|
||||
if exists("g:syntastic_perl_efm_program")
|
||||
let s:checker = g:syntastic_perl_efm_program
|
||||
else
|
||||
let s:checker = 'perl ' . shellescape(expand('<sfile>:p:h') . '/efm_perl.pl') . ' -c -w'
|
||||
endif
|
||||
|
||||
function! SyntaxCheckers_perl_GetLocList()
|
||||
if exists("g:perl_lib_path")
|
||||
|
Loading…
Reference in New Issue
Block a user