bugfix from Michael Ludwig for VIMRUNTIME paths with spaces (e.g. on windwos)

This commit is contained in:
Anthony Carapetis 2012-02-01 14:49:21 +11:00
parent 10f4d4d3e0
commit d4683b39f0

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()