Skip to content

Commit 10a5c8b

Browse files
authored
Merge pull request #1132 from ychin/macvim-python3.9-libs
Update python3 framework detection to use 3.9
2 parents 7ae9408 + f6ecba1 commit 10a5c8b

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
@@ -32,12 +32,12 @@ endif
3232
" or an installation from python.org:
3333
if exists("&pythonthreedll") && exists("&pythonthreehome") &&
3434
\ !filereadable(&pythonthreedll)
35-
if filereadable("/opt/local/Library/Frameworks/Python.framework/Versions/3.8/Python")
36-
" MacPorts python 3.8
37-
set pythonthreedll=/opt/local/Library/Frameworks/Python.framework/Versions/3.8/Python
38-
elseif filereadable("/Library/Frameworks/Python.framework/Versions/3.8/Python")
35+
if filereadable("/opt/local/Library/Frameworks/Python.framework/Versions/3.9/Python")
36+
" MacPorts python 3.9
37+
set pythonthreedll=/opt/local/Library/Frameworks/Python.framework/Versions/3.9/Python
38+
elseif filereadable("/Library/Frameworks/Python.framework/Versions/3.9/Python")
3939
" https://www.python.org/downloads/mac-osx/
40-
set pythonthreedll=/Library/Frameworks/Python.framework/Versions/3.8/Python
40+
set pythonthreedll=/Library/Frameworks/Python.framework/Versions/3.9/Python
4141
endif
4242
endif
4343

0 commit comments

Comments
 (0)