jaxbot / browserlink.vim

Live browser editing for Vim
MIT License
711 stars 38 forks source link

Adding support to vim compiled with python3 support (instead of python) #41

Open juanwolf opened 8 years ago

juanwolf commented 8 years ago

Hi,

Great work for this project ! Except that was not working for me because I'm using vim compiled with python3 support not python so the autoload/browserlink.vim script was giving me some errors.

I replaced few elements to make it work but it would be nice if there's a way to manage both.

I did a pull request to show you what I've changed to make it work, if it can help.

muellermartin commented 7 years ago

I'd also be interested in getting this implemented as "MacVim can no longer be brewed with dynamic support for both Python versions." when MacVim is installed via Homebrew and if Python 3 support has been requested.

Related PR: #42.

martin-hoger commented 6 years ago

Thank you for the plugin. I would also pretty much appreciate support for python3. I was using the plugin for some time, now I had to switch to python3 and get:

Error detected while processing function browserlink#sendCommand:
line    6:
E836: This Vim cannot execute :python after using :py3
E263: Sorry, this command is disabled, the Python library could not be loaded.