Gundo.vim and Python Relationships

Asked 2 years ago, Updated 2 years ago, 108 views

I wanted to use Gundo.vim on gvim on win10, so I installed it using dein.vim.

Gundo requirements Vim to be compiled with Python 2.4+

said he.
Python has already installed 3 series from Anaconda, but this time it has to be 2 series.
When you install Anaconda, you should have checked through PATH so that you can python from a command prompt...

By the way, : echo has('python') is 0.

Thank you for your cooperation.

vim

2022-09-30 21:30

2 Answers

You need a Vim with Python instead of the python command.The preparation method depends on the environment, so please check it out.
According to the document, if Python 3 series is built into Vim (: echo has('python3') becomes 1), setting the optional variables as follows would work:


2022-09-30 21:30

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.