Sparkup doesn't work in vim for me

I installed plugin vim plugin, I am sure that it is in the right place. I am using archlinux. And my vimrc: http://wklej.org/id/504484/ Sparkup just doesn't work. I do not know what to do.

+6
vim
source share
2 answers

Well, I found out what the problem is. At first it was a version of python that was supposed to be changed.

#!/usr/bin/env python to python2 

in sparkup.py file

Secondly, I needed to add

 filetype plugin on 

To the .vimrc file.

+11
source share

Sparkup requires that vim be compiled with Python 2 - you can check with :python print 42 if there is one.

Doesn't Arch come with Python 3 by default? I suspect a problem.

+1
source share

All Articles