forked from aniani/vim
patch 8.0.1451: difficult to set the python home directories properly
Problem: It is difficult to set the python home directory properly for Python 2.7 and 3.5 since both use $PYTHONHOME. Solution: Add the 'pythonhome' and 'pythonthreehome' options. (Kazuki Sakamoto, closes #1266)
This commit is contained in:
@@ -696,9 +696,15 @@ EXTERN char_u *p_perldll; /* 'perldll' */
|
||||
#if defined(DYNAMIC_PYTHON3)
|
||||
EXTERN char_u *p_py3dll; /* 'pythonthreedll' */
|
||||
#endif
|
||||
#ifdef FEAT_PYTHON3
|
||||
EXTERN char_u *p_py3home; /* 'pythonthreehome' */
|
||||
#endif
|
||||
#if defined(DYNAMIC_PYTHON)
|
||||
EXTERN char_u *p_pydll; /* 'pythondll' */
|
||||
#endif
|
||||
#ifdef FEAT_PYTHON
|
||||
EXTERN char_u *p_pyhome; /* 'pythonhome' */
|
||||
#endif
|
||||
#if defined(FEAT_PYTHON) || defined(FEAT_PYTHON3)
|
||||
EXTERN long p_pyx; /* 'pyxversion' */
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user