Gabirel / Hack-SpaceVim

🚀 Tell you how to hack SpaceVim. Be useful. Try Discussions!
MIT License
475 stars 68 forks source link

Here is how I enable +python and +lua and +python3 in win7 #17

Closed wsdjeg closed 7 years ago

wsdjeg commented 7 years ago

SpaceVim Health checking :

SpaceVim clipboard support check report: Checking +clipboard: SUCCEED! SpaceVim environment check report: Current progpath: gvim.exe(C:\Program Files\vim80\gvim.exe) version: 800 OS: Windows [shell, shellcmdflag, shellslash]: ['C:\Windows\system32\cmd.exe', '/c', 0] SpaceVim lua support check report: Checking +lua: SUCCEED! SpaceVim python support check report: Checking +python3: SUCCEED! Checking +python: SUCCEED!

Gabirel commented 7 years ago

The right way to configure:

set pythonthreedll=python36.dll
set pythondll=python27.dll

It has default value. That's why I can make vim support python2 and python3 at the same time.

wsdjeg commented 7 years ago

it is based on the output of

py -2 --version
py -3 --version
Gabirel commented 7 years ago

Summary: Test:

echo has('python')
echo has('python3')

If your vim doesn't have python support, please see the following steps:

py -2 --version
py -3 --version

Based the version of python, set default value of python support for vim.

set pythonthreedll=python36.dll
set pythondll=python27.dll