Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sparkup doesn't work in vim for me

Tags:

vim

I installed sparkup vim plugin, i'm sure it's in the right place. I use archlinux. And my vimrc: http://wklej.org/id/504484/ Sparkup just doesn't work at all. I don't know what to do.

like image 741
matiit Avatar asked Apr 02 '11 07:04

matiit


2 Answers

Ok, i found out what was the problem. First it was python version which needed to be change

#!/usr/bin/env python to python2 

in sparkup.py file

Second, I needed to add

filetype plugin on

To .vimrc file.

like image 113
matiit Avatar answered Oct 02 '22 15:10

matiit


Sparkup needs vim to be compiled with Python 2 -- you can check using :python print 42 whether it is.

Isn't Arch shipped with Python 3 by default anyway? I suspect that's the problem.

like image 42
hynek Avatar answered Oct 02 '22 15:10

hynek