Skip to content

Commit 78ff9e9

Browse files
authored
Merge pull request #1063 from ychin/python-3.8-default-dll-paths
Make MacVim default to 3.8 DLL paths for MacPort and python.org installs
2 parents a4cb623 + 74635b5 commit 78ff9e9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/MacVim/vimrc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ endif
3737
" or an installation from python.org:
3838
if exists("&pythonthreedll") && exists("&pythonthreehome") &&
3939
\ !filereadable(&pythonthreedll)
40-
if filereadable("/opt/local/Library/Frameworks/Python.framework/Versions/3.7/Python")
41-
" MacPorts python 3.7
42-
set pythonthreedll=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/Python
43-
elseif filereadable("/Library/Frameworks/Python.framework/Versions/3.7/Python")
40+
if filereadable("/opt/local/Library/Frameworks/Python.framework/Versions/3.8/Python")
41+
" MacPorts python 3.8
42+
set pythonthreedll=/opt/local/Library/Frameworks/Python.framework/Versions/3.8/Python
43+
elseif filereadable("/Library/Frameworks/Python.framework/Versions/3.8/Python")
4444
" https://www.python.org/downloads/mac-osx/
45-
set pythonthreedll=/Library/Frameworks/Python.framework/Versions/3.7/Python
45+
set pythonthreedll=/Library/Frameworks/Python.framework/Versions/3.8/Python
4646
endif
4747
endif
4848

0 commit comments

Comments
 (0)