Mercurial > vim
comparison runtime/optwin.vim @ 13154:53cc7ea77c54 v8.0.1451
patch 8.0.1451: difficult to set the python home directories properly
commit https://github.com/vim/vim/commit/94073167e3aa8cbe18380e93a2fc8e8165438cc8
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 31 21:49:05 2018 +0100
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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 31 Jan 2018 22:00:07 +0100 |
parents | 1578c0ba0dd1 |
children | acd7eaa13d2b |
comparison
equal
deleted
inserted
replaced
13153:c30f721849cb | 13154:53cc7ea77c54 |
---|---|
1352 endif | 1352 endif |
1353 if exists("&pythondll") | 1353 if exists("&pythondll") |
1354 call append("$", "pythondll\tname of the Python 2 dynamic library") | 1354 call append("$", "pythondll\tname of the Python 2 dynamic library") |
1355 call <SID>OptionG("pythondll", &pythondll) | 1355 call <SID>OptionG("pythondll", &pythondll) |
1356 endif | 1356 endif |
1357 if exists("&pythonhome") | |
1358 call append("$", "pythonhome\tname of the Python 2 home directory") | |
1359 call <SID>OptionG("pythonhome", &pythonhome) | |
1360 endif | |
1357 if exists("&pythonthreedll") | 1361 if exists("&pythonthreedll") |
1358 call append("$", "pythonthreedll\tname of the Python 3 dynamic library") | 1362 call append("$", "pythonthreedll\tname of the Python 3 dynamic library") |
1359 call <SID>OptionG("pythonthreedll", &pythonthreedll) | 1363 call <SID>OptionG("pythonthreedll", &pythonthreedll) |
1364 endif | |
1365 if exists("&pythonthreehome") | |
1366 call append("$", "pythonthreehome\tname of the Python 3 home directory") | |
1367 call <SID>OptionG("pythonthreehome", &pythonthreehome) | |
1360 endif | 1368 endif |
1361 if exists("&rubydll") | 1369 if exists("&rubydll") |
1362 call append("$", "rubydll\tname of the Ruby dynamic library") | 1370 call append("$", "rubydll\tname of the Ruby dynamic library") |
1363 call <SID>OptionG("rubydll", &rubydll) | 1371 call <SID>OptionG("rubydll", &rubydll) |
1364 endif | 1372 endif |