README.Debian needs clarification
Bug #1576843 reported by
Raúl Soriano
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
powerline (Ubuntu) |
Fix Released
|
Undecided
|
Jerome Charaoui |
Bug Description
Part of the README.Debian says:
vim
---
Make sure the vim-nox package is installed, and insert the following lines in
your ~/.vimrc file:
python from powerline.vim import setup as powerline_setup
python powerline_setup()
python del powerline_setup
But since vim is now using python3 (at least in Xenial), those lines don't work, generating error E319.
I've wasted an entire afternoon trying to figure out how to make it work, until in a wild guess I replaced "python" with "python3" and it worked.
I couldn't find any place with references to python3 in vimrc, so it was a lucky guess, and it should be documented.
To post a comment you must log in.
It's actually documented upstream: powerline. readthedocs. io/en/master/ usage/other. html#vim- statusline
http://
I'll add that note about python3 to the README.