Skip to content
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

Python 3 support #61

Open
lbmn opened this issue Jan 21, 2017 · 1 comment
Open

Python 3 support #61

lbmn opened this issue Jan 21, 2017 · 1 comment

Comments

@lbmn
Copy link

lbmn commented Jan 21, 2017

To get it working in Termux (which defaults to Python 3, as everything should), I had to:

  • apt install vim-python

  • ~/.vim/bundle/nim.vim/autoload/nim.vim: replace the "pyfile" line with:
    exe 'py3file ' . fnameescape(s:plugin_path) . '/nim_vim.py'

  • ~/.vim/bundle/nim.vim/autoload/nim_vim.py: remove Queue from the import line, and add:
    from multiprocessing import Queue

@optik-aper
Copy link

@lbmn: Thanks for figuring that out.

Is there any plan to add python3 support upstream for this plugin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants