Skip to content

syntax on causes python failure when trying to edit .vimrc/.nvimrc #2063

@moshen

Description

@moshen

OS: Xubuntu 14.10

Neovim: Installed from ppa

nvim --version                                                                                                                    
NVIM 0.0.0-alpha (compiled Feb 23 2015 00:20:21)                                                                                  
Commit: ?                                                                                                                         
Build type: RelWithDebInfo

Error Message:

No neovim module found for Python 2.7.8. Try installing it with 'pip install neovim' or see ':help nvim-python'.

When I try to edit .vimrc or .nvimrc, I get the error above. From poking around on the mailing lists, has('python') triggers the check... which would mean this line:

if g:vimsyn_embed =~ 'P' && (has("python") || has("python3")) && filereadable(s:pythonpath)
triggers it as well. The documentation doesn't explicitly say that the python module is required for normal use. Is it? If it is, can it be delivered via the ppa as a depedency of neovim?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions