如何在 Windows 上的 gVim 中启用 Python 支持? [英] How to enable Python support in gVim on Windows?
本文介绍了如何在 Windows 上的 gVim 中启用 Python 支持?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在 Windows 上的 gVim 中获得 Python 支持.有没有办法做到这一点?
I'm trying to get Python support in gVim on Windows. Is there a way to accomplish that?
我正在使用:
- Windows XP SP3
- gVim 7.3 版
- Python 2.7.13(ActivePython 通过 Windows Installer 二进制文件)
推荐答案
通常,python 支持内置于官方 gvim 发行版中.
Usually, python support is built in the official gvim distribution.
您需要安装 python:Python 下载
You will need to install python though: Python Downloads
检查vim是否支持python:
to check if vim supports python:
:echo has("python")
这篇关于如何在 Windows 上的 gVim 中启用 Python 支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文