Skip to content

Commit 7c26ef0

Browse files
committed
Fix misconfigured Python paths in default vimrc
Homebrew Python 2.7 was misconfigured to use the wrong path, and official Python 2.7 install was configured to set "pythonthreedll" instead of "pythondll". Fix them. Fix #803
1 parent a3a7a5a commit 7c26ef0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/MacVim/vimrc

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set langmenu=none
1919
" version. However, following code tries to find a Homebrew, MacPorts or
2020
" an installation from python.org:
2121
if exists("&pythondll") && exists("&pythonhome")
22-
if filereadable("/usr/local/Library/Frameworks/Python.framework/Versions/2.7/Python")
22+
if filereadable("/usr/local/Frameworks/Python.framework/Versions/2.7/Python")
2323
" Homebrew python 2.7
2424
set pythondll=/usr/local/Frameworks/Python.framework/Versions/2.7/Python
2525
set pythonhome=/usr/local/Frameworks/Python.framework/Versions/2.7
@@ -29,8 +29,8 @@ if exists("&pythondll") && exists("&pythonhome")
2929
set pythonhome=/opt/local/Library/Frameworks/Python.framework/Versions/2.7
3030
elseif filereadable("/Library/Frameworks/Python.framework/Versions/2.7/Python")
3131
" https://www.python.org/downloads/mac-osx/
32-
set pythonthreedll=/Library/Frameworks/Python.framework/Versions/2.7/Python
33-
set pythonthreehome=/Library/Frameworks/Python.framework/Versions/2.7
32+
set pythondll=/Library/Frameworks/Python.framework/Versions/2.7/Python
33+
set pythonhome=/Library/Frameworks/Python.framework/Versions/2.7
3434
endif
3535
endif
3636

0 commit comments

Comments
 (0)