开发者

Sparkup doesn't work in vim for me

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜