You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The homebrewed MacVim can only be installed with either Python 2 *or 3 support, but not both. So I enabled Python 3 support and noticed that splice.vim does not work with Python 3.
I think it is “relatively” easy to support both versions. The Python code looks relatively compatible with both versions. Maybe you have to fix the relative-import thing introduced with Python 3.3(?). You also need to modify autoload/splice.vim as followed (inspired by the python-mode plug-in which supports both Python versions). You basically define aliases for pyfile and python depending on the Python version and use them instead of the orginal commands:
The homebrewed MacVim can only be installed with either Python 2 *or 3 support, but not both. So I enabled Python 3 support and noticed that splice.vim does not work with Python 3.
I think it is “relatively” easy to support both versions. The Python code looks relatively compatible with both versions. Maybe you have to fix the relative-import thing introduced with Python 3.3(?). You also need to modify
autoload/splice.vim
as followed (inspired by the python-mode plug-in which supports both Python versions). You basically define aliases forpyfile
andpython
depending on the Python version and use them instead of the orginal commands:Please let me now if I can help you (e.g., with testing).
Splice.vim is awesome. Thanks! :-)
The text was updated successfully, but these errors were encountered: