aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2015-05-05 16:38:14 +0200
committerJustin M. Keyes <justinkz@gmail.com>2015-05-05 12:01:02 -0400
commit2f2a29ed90e4437265d1642019a39bd0c283e250 (patch)
tree09f8631711007d8fc6deca99511fc56d9eccfb7b
parent9e91bb461f9704db13d2c75c815d79cc2cb0c4be (diff)
downloadrneovim-2f2a29ed90e4437265d1642019a39bd0c283e250.tar.gz
rneovim-2f2a29ed90e4437265d1642019a39bd0c283e250.tar.bz2
rneovim-2f2a29ed90e4437265d1642019a39bd0c283e250.zip
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.
-rw-r--r--runtime/syntax/vim.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim
index 92b4f72c6e..1aac49c401 100644
--- a/runtime/syntax/vim.vim
+++ b/runtime/syntax/vim.vim
@@ -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'