Skip to content

Commit d6f259e

Browse files
authored
Merge pull request #812 from ychin/fix-homebrew-python2
Fix misconfigured Python paths in default vimrc
2 parents a3a7a5a + 7c26ef0 commit d6f259e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/MacVim/vimrc

Lines changed: 3 additions & 3 deletions
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)