Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wsdjeg opened this issue Apr 21, 2017 · 3 comments
Closed

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

wsdjeg opened this issue Apr 21, 2017 · 3 comments

Comments

@wsdjeg
Copy link

wsdjeg commented Apr 21, 2017

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
Copy link
Owner

Gabirel commented Apr 21, 2017

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
Copy link
Author

wsdjeg commented Apr 21, 2017

it is based on the output of

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

@Gabirel
Copy link
Owner

Gabirel commented Apr 21, 2017

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

@Gabirel Gabirel closed this as completed Apr 21, 2017
Gabirel added a commit that referenced this issue Apr 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants