README.Debian needs clarification

Bug #1576843 reported by Raúl Soriano
6
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.

Revision history for this message
Jerome Charaoui (jcharaoui) wrote :

It's actually documented upstream:
http://powerline.readthedocs.io/en/master/usage/other.html#vim-statusline

I'll add that note about python3 to the README.

Changed in powerline (Ubuntu):
status: New → Confirmed
assignee: nobody → Jerome Charaoui (jcharaoui)
Revision history for this message
Jerome Charaoui (jcharaoui) wrote :

The README was updated in 2.6-2

Changed in powerline (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.