How to enable Python support in gVim on Windows?

前端 未结 13 1906
灰色年华
灰色年华 2020-12-13 08:47

I\'m trying to get Python support in gVim on Windows. Is there a way to accomplish that?

I\'m using:

  • Windows XP SP3
  • gVim v. 7.3
  • Pytho
相关标签:
13条回答
  • 2020-12-13 09:22

    If you have installed Python via one of the Windows installers it is probably compiled with Python 2.7 support. You can verify this by running:

    :version
    

    It will spit out all the options Vim was compiled with. Yours should say something like

    +python/dyn +python3\dyn
    

    This means you have support for python 2.7 and 3.x. If you already have 2.5 it won't work. You will need to upgrade to either 2.7 or 3.x.

    0 讨论(0)
提交回复
热议问题