开发者

Sparkup doesn't work in vim for me

开发者 https://www.devze.com 2023-02-21 05:59 出处:网络
I installed sparkup vim plugin, i\'m sure it\'s开发者_如何学运维 in the right place. I use archlinux.

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

精彩评论

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