What I did was create a ~/.vimrc file analog to the Tutorial with
set rtp+=/usr/lib/python3.6/site-packages/powerline/bindings/vim
And the error I get is:
Traceback (most recent call last):
File "<string>", line 9, in <module>
ImportError: No module named powerline.vim
An error occurred while importing powerline module.
This could be caused by invalid sys.path setting,
or by an incompatible Python version (powerline requires
Python 2.6, 2.7 or 3.2 and later to work). Please consult
the troubleshooting section in the documentation for
possible solutions.
Unable to import powerline, is it installed?
Without the vimrc I get the same error though, the syntax highlighting inside vim with that vimrc is absent.
Edit: If I add the other 3 lines as specified in the guide
python3 from powerline.vim import setup as powerline_setup
python3 powerline_setup()
python3 del powerline_setup
I additionally to above error message get
line 2:
E319: Sorry, the command is not available in this version: python3 from powerline.vim import setup as powerline_setup
line 3:
E319: Sorry, the command is not available in this version: python3 powerline_setup()
line 4:
E319: Sorry, the command is not available in this version: python3 del powerline_setup
Edit 2: Yeah, I used the wrong paths...
Edit 3: I am now using the following ~/.vimrc with no success
let g:pymode_python = 'python3'
set rtp+=/usr/share/vim/vimfiles/plugin
Shouldn't https://github.com/KaOSx/main/blob/master/vim/PKGBUILD#L41 be yes for python3 in vim?