Floobits / floobits-neovim

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

No Floo* commands #32

Closed rubik closed 9 years ago

rubik commented 9 years ago

I installed nvim-python and confirmed it is working. Then I installed floobits-neovim and added the .floorc.json file, as per the documentation. When I start nvim, however, I cannot use the :Floo* commands. Neovim fails with the message "No editor command Floo...".

joshuarubin commented 9 years ago

Same here

Shougo commented 9 years ago

You should execute :UpdateRemotePlugins command.

rubik commented 9 years ago

When executing :UpdateRemotePlugins I get the error

Could not find any plugins when attempting to register plugin commands. See :he
 remote-plugin
Shougo commented 9 years ago

It is not error message. It just not found Python3 remote plugins.

rubik commented 9 years ago

I'm sorry, I installed neovim through Pip for both Python 2 and 3 and configured the variables

    let g:python_host_prog = '/usr/bin/python2'
    let g:python3_host_prog = '/usr/bin/python'

What else should I do?

Shougo commented 9 years ago

After you executed :UpdateRemotePlugins, :Floo* commands are not found?

rubik commented 9 years ago

The command :UpdateRemotePlugins gives the same message... What am I missing?

joshuarubin commented 9 years ago

On OSX, with homebrew installed python and python3, I had to add

  let g:python_host_prog  = "/usr/local/bin/python"
  let g:python3_host_prog = "/usr/local/bin/python3"

to the top of my .nvimrc.

The Floo commands then became available.

rubik commented 9 years ago

I tried to execute the Floo* commands. Now they are available, even though the :UpdateRemotePlugins does nothing... I'll close the issue, however I don't understand how :UpdateRemotePlugins should work.

Shougo commented 9 years ago

I'll close the issue, however I don't understand how :UpdateRemotePlugins should work.

It defines Floo* commands and make cache it. But it has confusing warning message. I think it should be improved.

rubik commented 9 years ago

Yes, the current message makes it seem like nothing happened.

Shougo commented 9 years ago

The message is improved in latest neovim. Please check it.

rubik commented 9 years ago

Yes, now it is indeed clearer. Thank you for you help @Shougo!