From f150b4b2a7936a743ed99c7f48fb28f23a6fd8ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Tue, 10 Mar 2015 21:47:25 +0100 Subject: [PATCH] Fixed problem with executable path --- syntax_checkers/glsl/driver.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/syntax_checkers/glsl/driver.vim b/syntax_checkers/glsl/driver.vim index 278631c..1a514e4 100644 --- a/syntax_checkers/glsl/driver.vim +++ b/syntax_checkers/glsl/driver.vim @@ -61,6 +61,9 @@ call g:SyntasticRegistry.CreateAndRegisterChecker({ \'name': 'driver', \'exec': 'check-glsl'}) +let s:ownpath = expand( ':p:h:h:h' ) +let g:syntastic_glsl_driver_exec = s:ownpath . '/check-glsl' + let &cpo = s:save_cpo unlet s:save_cpo