roxma / nvim-yarp

Yet Another Remote Plugin Framework for Neovim
MIT License
230 stars 14 forks source link

python2 compatibility #36

Closed stu105502 closed 5 years ago

stu105502 commented 5 years ago

Hey guys,

I had some trouble of getting your plugin work with python2. I'm quite sure that python2 shall be supported but I found a small issue. Your script 'pythonx/yarp.py' contains in the first line: 'from importlib.util import find_spec' The problem is that 'importlib.util' was only introduced in python3 and every start with python2 will fail. If I have a mistake on my side, I would appreciate, if you would help me so that I can run it properly. Thanks in advance!

Best regards,

Matthias

Shougo commented 5 years ago

I think you can create the PR for it.

stu105502 commented 5 years ago

Okay, thank you very much. I'll take a look into it.