How to enable Python support in gVim on Windows?

前端 未结 13 1903
灰色年华
灰色年华 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:09

    Add following scripts to your .vimrc

    set pythonthreedll = python36.dll
    

    Most distribution of vim in Windows is loading python dynamically, you must tell vim what the dll is, and make sure that python36.dll is in your PATH environment variable.

提交回复
热议问题