runtime/syntax/vim.vim: remove 'has("python")' checks #2589

This check does not appear to be required, but only causes the Python
provider to start.
This commit is contained in:
Daniel Hahler 2015-05-05 16:38:14 +02:00 committed by Justin M. Keyes
parent 9e91bb461f
commit 2f2a29ed90

View File

@ -607,7 +607,7 @@ if !filereadable(s:pythonpath)
endif
endfor
endif
if g:vimsyn_embed =~ 'P' && (has("python") || has("python3")) && filereadable(s:pythonpath)
if g:vimsyn_embed =~ 'P' && filereadable(s:pythonpath)
unlet! b:current_syntax
exe "syn include @vimPythonScript ".s:pythonpath
if exists("g:vimsyn_folding") && g:vimsyn_folding =~ 'P'