Uh oh!
There was an error while loading. Please reload this page.
Vimrc python37 - #739
Conversation
Great idea to improve the macvim/vimrc file itself, so python3 installation from macports, next to https://www.python.org/downloads/mac-osx/, is also used if present.
|
eirnym
commented
Aug 26, 2018
macOS still doesn't have any Python3 preinstalled and this leads to a different handling of Python versions. Rumors said that macOS 10.14 doesn't have it as well. |
kiryph
commented
Aug 26, 2018
By default the pre-installed python2 is used? |
eirnym
commented
Aug 26, 2018
yes, according to |
I also use the binary installation from github. So the results on my machine agree: It is good to confirm this specifically. Thanks for pointing this method out. Order of Used Python Versionsdetermined how MacVim is built and by the distributed MacVim Python2:
Python3:
Update CommentsIMHO, the comments in Also a comment from https://github.com/macvim-dev/macvim/wiki/Python-2.x-and-Python-3.x Finally, the user could be reminded if he has installed python2/3 in a non-default directory, he must Python2 from python.orgFor python2, an installation from https://www.python.org/downloads/release/python-2715/
|
@kiryph added comments without paths as they constant and well known for both installations. Also I added a python 2.7 from python.org installation detection. Although, I resigned to add a comment of simulteniuos loading of Python 2 and 3 as it described in |
Vim patch 8.1.560 Targets macOS 10.8+ Features: - macOS Mojave (10.14) is now supported. - MacVim's UI now works with Dark Mode. - Fixed broken rendering and flickering under Mojave when using the default Core Text renderer. macvim-dev#757 - guioption 'k' is supported again. macvim-dev#731 - This option prevents window from resizing when UI elements such as toolbars or tabs show or hide themselves. Fixes: - Fixed misc fullscreen and window resizing bugs and artifacts macvim-dev#745 - Dragging tabs to reorder now works properly macvim-dev#789 - Fixed timer callback handling in GUI macvim-dev#749 - Fixed native tabs (10.12+) interring with Vim tabs macvim-dev#788 - Fixed Japanese IME Ctrl-U/Ctrl-O handling macvim-dev#742 - Fixed MMShareFindPboard and Cmd-E/Cmd-G interactions macvim-dev#780 - Better handling of guifontwide font size macvim-dev#737 - Better python discovery in default vimrc macvim-dev#739 Known Issues: - Scrolling performance is slightly worse under Mojave macvim-dev#796 Script interfaces have compatibility with these versions: - Lua 5.3 - Perl 5.18 - Python2 2.7 - Python3 3.7 - Ruby 2.5
Vim patch 8.1.560 Targets macOS 10.8+ Features: - macOS Mojave (10.14) is now supported. - MacVim's UI now works with Dark Mode. - Fixed broken rendering and flickering under Mojave when using the default Core Text renderer. #757 - guioption 'k' is supported again. #731 - This option prevents window from resizing when UI elements such as toolbars or tabs show or hide themselves. Fixes: - Fixed misc fullscreen and window resizing bugs and artifacts #745 - Dragging tabs to reorder now works properly #789 - Fixed timer callback handling in GUI #749 - Fixed native tabs (10.12+) interring with Vim tabs #788 - Fixed Japanese IME Ctrl-U/Ctrl-O handling #742 - Fixed MMShareFindPboard and Cmd-E/Cmd-G interactions #780 - Better handling of guifontwide font size #737 - Better python discovery in default vimrc #739 Known Issues: - Scrolling performance is slightly worse under Mojave #796 Script interfaces have compatibility with these versions: - Lua 5.3 - Perl 5.18 - Python2 2.7 - Python3 3.7 - Ruby 2.5
Uses Python 3.7 from Python.org if installed (this was overlooked since build 150), credits to @kiryph
Adds checks MacPorts if python from it is used after Homebrew.