Merge pull request #156 from mitchellh/master

Python syntax checker executable check uses a string, when it should use value of the variable
This commit is contained in:
Martin Grenfell 2012-01-26 13:50:11 -08:00
commit 10f4d4d3e0

View File

@ -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")