summaryrefslogtreecommitdiff
path: root/src/option.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-01-31 21:49:05 +0100
committerBram Moolenaar <Bram@vim.org>2018-01-31 21:49:05 +0100
commit94073167e3aa8cbe18380e93a2fc8e8165438cc8 (patch)
tree2e7c3078ffc53518b95979a118b16403699381ae /src/option.h
parent1dd45fb4f3371f0256653b2186c8b4b3d26b3f41 (diff)
downloadvim-git-94073167e3aa8cbe18380e93a2fc8e8165438cc8.tar.gz
patch 8.0.1451: difficult to set the python home directories properlyv8.0.1451
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)
Diffstat (limited to 'src/option.h')
-rw-r--r--src/option.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/option.h b/src/option.h
index c9fa4d35f..21be3a39f 100644
--- a/src/option.h
+++ b/src/option.h
@@ -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