No error when missing python, main features work

This commit is contained in:
Tim Schumacher 2017-10-30 20:11:33 +01:00 committed by GitHub
commit 46b74a4c75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ endif
if has("python3")
exe 'py3file ' . fnameescape(s:plugin_path) . '/nim_vim.py'
else
elseif has("python")
exe 'pyfile ' . fnameescape(s:plugin_path) . '/nim_vim.py'
endif