Floobits / floobits-neovim

Floobits plugin for NeoVim
Apache License 2.0
167 stars 7 forks source link

Plugin throws error on launch with NeoVim v0.4.4 and macOS 11 #49

Open brooksprumo opened 3 years ago

brooksprumo commented 3 years ago

I am running macOS Big Sur (11.2.2) and NeoVim v0.4.4 from HomeBrew, and the floobits-neovim plugin fails. When starting nvim, here's the error:

Floobits error: no neovim python module. Run `pip install neovim` to fix. For more info, :he nvim-python

Two things to note, the neovim python module was renamed to pynvim, and the nvim-python help page no longer exists. These were both changed, but haven't been reflected in the floobits plugin.

If I replace all instances of neovim with pynvim in __init.py__, and then change vimbits.vim to have if !has('python3') instead of just if !has('python'), the plugin does not error at launch. However, I'm not sure if this actually still works, since I've never used floobits before, and I'm trying to use it for the first time.

Let me know if you need any additional information. Thanks in advance!

lf- commented 3 years ago

It would also be good if it were updated to Python 3.