Fixed problem with executable path

This commit is contained in:
Emmanuel BENOîT 2015-03-10 21:47:25 +01:00
parent cbaafa7941
commit f150b4b2a7

View file

@ -61,6 +61,9 @@ call g:SyntasticRegistry.CreateAndRegisterChecker({
\'name': 'driver', \'name': 'driver',
\'exec': 'check-glsl'}) \'exec': 'check-glsl'})
let s:ownpath = expand( '<sfile>:p:h:h:h' )
let g:syntastic_glsl_driver_exec = s:ownpath . '/check-glsl'
let &cpo = s:save_cpo let &cpo = s:save_cpo
unlet s:save_cpo unlet s:save_cpo