From cfe85f1b8e00cacfca6754b46b8f034e9a5ba8d4 Mon Sep 17 00:00:00 2001 From: Eir Nym <485399+eirnym@users.noreply.github.com> Date: Mon, 13 May 2019 09:09:47 +0200 Subject: [PATCH] Remove setting default pythonhome and pythonthreehome It's enough to set pythondll/pythonthreedll if you want defaults --- src/MacVim/vimrc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/MacVim/vimrc b/src/MacVim/vimrc index 0a987f64c1..23a06bf37b 100644 --- a/src/MacVim/vimrc +++ b/src/MacVim/vimrc @@ -22,15 +22,12 @@ if exists("&pythondll") && exists("&pythonhome") if filereadable("/usr/local/Frameworks/Python.framework/Versions/2.7/Python") " Homebrew python 2.7 set pythondll=/usr/local/Frameworks/Python.framework/Versions/2.7/Python - set pythonhome=/usr/local/Frameworks/Python.framework/Versions/2.7 elseif filereadable("/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python") " MacPorts python 2.7 set pythondll=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python - set pythonhome=/opt/local/Library/Frameworks/Python.framework/Versions/2.7 elseif filereadable("/Library/Frameworks/Python.framework/Versions/2.7/Python") " https://www.python.org/downloads/mac-osx/ set pythondll=/Library/Frameworks/Python.framework/Versions/2.7/Python - set pythonhome=/Library/Frameworks/Python.framework/Versions/2.7 endif endif @@ -43,11 +40,9 @@ if exists("&pythonthreedll") && exists("&pythonthreehome") && if filereadable("/opt/local/Library/Frameworks/Python.framework/Versions/3.7/Python") " MacPorts python 3.7 set pythonthreedll=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/Python - set pythonthreehome=/opt/local/Library/Frameworks/Python.framework/Versions/3.7 elseif filereadable("/Library/Frameworks/Python.framework/Versions/3.7/Python") " https://www.python.org/downloads/mac-osx/ set pythonthreedll=/Library/Frameworks/Python.framework/Versions/3.7/Python - set pythonthreehome=/Library/Frameworks/Python.framework/Versions/3.7 endif endif