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.
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.
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.