From c6d464bb627a780d563392a537ff9cb5ec1e4de5 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 26 Jan 2012 11:29:07 -0800 Subject: [PATCH] Python executable check should use the variable, not a string --- syntax_checkers/python.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax_checkers/python.vim b/syntax_checkers/python.vim index ed9a682f..abf74f9a 100644 --- a/syntax_checkers/python.vim +++ b/syntax_checkers/python.vim @@ -20,7 +20,7 @@ endif let loaded_python_syntax_checker = 1 "bail if the user doesnt have his favorite checker or flake8 or pyflakes installed -if !exists('g:syntastic_python_checker') || !executable('g:syntastic_python_checker') +if !exists('g:syntastic_python_checker') || !executable(g:syntastic_python_checker) if executable("flake8") let g:syntastic_python_checker = 'flake8' elseif executable("pyflakes")