Merge pull request #160 from acarapetis/patch-1

bugfix from Michael Ludwig for VIMRUNTIME paths with spaces (e.g. on windows)
This commit is contained in:
Martin Grenfell 2012-02-01 01:20:22 -08:00
commit 3bb2b7fe0c

View File

@ -23,8 +23,9 @@ if !executable("perl")
finish
endif
if !exists("g:syntastic_perl_efm_program")
let g:syntastic_perl_efm_program = 'perl '.$VIMRUNTIME.'/tools/efm_perl.pl -c'
let g:syntastic_perl_efm_program = 'perl '. shellescape($VIMRUNTIME.'/tools/efm_perl.pl').' -c'
endif
function! SyntaxCheckers_perl_GetLocList()