-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ruby and python dependence #19
Comments
I tried to install vim-pandoc, but was getting fatal errors on startup (specifically, this one). So I tried installing Vim using Macports with Python and Ruby support, and started getting new, non-fatal errors. I finally traced one about "relpath" down to the fact that the default Vim from Macports has Python 2.5, which is not a new enough version (you need >= 2.6). Installing a variant from Macports with Python 2.7 fixed the issues. I think it would be very helpful to list the dependencies in the README at least, even if you don't catch them automatically. That's generally a standard practice, no? |
Current Debian testing (wheezy) |
I've just pushed some commits that (I think) manage to wrap all the direct calls to python functions in |
Perhaps we should add a check for ruby and python
has('ruby')
andhas('python')
, and return an error message saying they are required if either is false. Long term, we might consider separating out the features that have these dependencies, and only making them conditional on has('ruby') and has('python'). Also long term, we might consider which features that currently depend on ruby and python could be rewritten (without too many headaches) in pure vimscript.This is all very low priority. I'm really not quite sure how to think about these issues. I don't know that anyone will ever use the plugin who doesn't have support for ruby and python, and I'd rather have code that we can all understand written in familiar idioms than cryptic code written in vimscript.
The text was updated successfully, but these errors were encountered: