IssueRaiser

Add support for NeoVim

I understand that this may not be immediately feasible due to the still-unstable nature of NeoVim, but I'd like to make the request anyway. First, powerline fails when it tries to access the bindeval method which NeoVim does not support. I attempted to do some initial debugging, and discovered that Powerline relies on Vim's 7.4 Python API when it detects a version greater than 703. NeoVim reports as version 704 right now, but has not added support for Vim's 7.4 Python API (see discussion on neovim/neovim#1898), which apparently includes the bindeval method. After attempting to work around this by modifying powerline's version checking, I'm still seeing the following issue: ``` Error detected while processing function PowerlinePyeval..provider#python#Call: line 1: NameError("name 'powerline' is not defined",) ``` I'm not sure what's going on here that it cannot find "powerline". Executing `:py import sys; print sys.path` seems to indicate that the right paths can be found, and I can execute `:py import powerline` without complaint. For the record, I'm running the latest NeoVim (NVIM 0.0.0-alpha+201501262108) on Mac OS 10.10, with Python 2.7 installed through homebrew, and powerline 2.0 installed through pip. ## <bountysource-plugin> Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8079473-add-support-for-neovim?utm_campaign=plugin&utm_content=tracker%2F283196&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysourc

Posted by abstiles on Jan 27, 2015, 8:28 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.8,000 issues0 comments

support (Software)

Add support for NeoVim

abstilesJan 27, 2015, 8:28 PM

I understand that this may not be immediately feasible due to the still-unstable nature of NeoVim, but I'd like to make the request anyway. First, powerline fails when it tries to access the bindeval method which NeoVim does not support. I attempted to do some initial debugging, and discovered that Powerline relies on Vim's 7.4 Python API when it detects a version greater than 703. NeoVim reports as version 704 right now, but has not added support for Vim's 7.4 Python API (see discussion on neovim/neovim#1898), which apparently includes the bindeval method. After attempting to work around this by modifying powerline's version checking, I'm still seeing the following issue: ``` Error detected while processing function PowerlinePyeval..provider#python#Call: line 1: NameError("name 'powerline' is not defined",) ``` I'm not sure what's going on here that it cannot find "powerline". Executing `:py import sys; print sys.path` seems to indicate that the right paths can be found, and I can execute `:py import powerline` without complaint. For the record, I'm running the latest NeoVim (NVIM 0.0.0-alpha+201501262108) on Mac OS 10.10, with Python 2.7 installed through homebrew, and powerline 2.0 installed through pip. ## <bountysource-plugin> Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8079473-add-support-for-neovim?utm_campaign=plugin&utm_content=tracker%2F283196&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysourc

Comments (0)

No comments yet. Start the discussion.

Comment on this issue