From b04d70304144b55e309f824ef77137a61187554d Mon Sep 17 00:00:00 2001 From: Matt Shindala Date: Mon, 13 Nov 2017 15:28:31 -0500 Subject: [PATCH 1/2] Add Python version information in README --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f6b685b8..3ee5bbcb 100644 --- a/README.md +++ b/README.md @@ -385,7 +385,10 @@ Download and install the following software: - [Python 2 or Python 3][python-win-download]. Be sure to pick the version corresponding to your Vim architecture. It is _Windows x86_ for a 32-bit Vim and -_Windows x86-64_ for a 64-bit Vim. We recommend installing Python 3. +_Windows x86-64_ for a 64-bit Vim. We recommend installing Python 3. +Additionally, the version of Python you install must match up exactly with the version of Python that Vim is looking for. Type `:version` and look +at the bottom of the page at the list of compiler flags. Look for flags that +look similar to `-DDYNAMIC_PYTHON_DLL=\"python27.dll\"` and `-DDYNAMIC_PYTHON3_DLL=\"python35.dll\"`. The former indicates that Vim is looking for Python 2.7 and the latter indicates that Vim is looking for Python 3.5. You'll need one or the other installed, matching the version number exactly. - [CMake][cmake-download]. Add CMake executable to the PATH environment variable. - [Visual Studio][visual-studio-download]. Download the community edition. @@ -542,6 +545,10 @@ process. critical because it must match the Python and the YCM libraries architectures. We recommend using a 64-bit Vim. + Additionally, the version of Python you install must match up exactly with the version of Python that Vim is looking for. Type `:version` and look + at the bottom of the page at the list of compiler flags. Look for flags that + look similar to `-DDYNAMIC_PYTHON_DLL=\"python27.dll\"` and `-DDYNAMIC_PYTHON3_DLL=\"python35.dll\"`. The former indicates that Vim is looking for Python 2.7 and the latter indicates that Vim is looking for Python 3.5. You'll need one or the other installed, matching the version number exactly. + 2. **Install YCM** with [Vundle][] (or [Pathogen][], but Vundle is a better idea). With Vundle, this would mean adding a `Plugin 'Valloric/YouCompleteMe'` line to your [vimrc][]. From 2f093e023bd8ca7b594a78c2013a071ae1803a6c Mon Sep 17 00:00:00 2001 From: Matt Shindala Date: Mon, 13 Nov 2017 19:23:23 -0500 Subject: [PATCH 2/2] Trim to 80 characters / line, remove from Full Installation Guide --- README.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 3ee5bbcb..4fe71e12 100644 --- a/README.md +++ b/README.md @@ -384,11 +384,16 @@ process. Download and install the following software: - [Python 2 or Python 3][python-win-download]. Be sure to pick the version -corresponding to your Vim architecture. It is _Windows x86_ for a 32-bit Vim and -_Windows x86-64_ for a 64-bit Vim. We recommend installing Python 3. -Additionally, the version of Python you install must match up exactly with the version of Python that Vim is looking for. Type `:version` and look -at the bottom of the page at the list of compiler flags. Look for flags that -look similar to `-DDYNAMIC_PYTHON_DLL=\"python27.dll\"` and `-DDYNAMIC_PYTHON3_DLL=\"python35.dll\"`. The former indicates that Vim is looking for Python 2.7 and the latter indicates that Vim is looking for Python 3.5. You'll need one or the other installed, matching the version number exactly. + corresponding to your Vim architecture. It is _Windows x86_ for a 32-bit Vim + and _Windows x86-64_ for a 64-bit Vim. We recommend installing Python 3. + Additionally, the version of Python you install must match up exactly with + the version of Python that Vim is looking for. Type `:version` and look at the + bottom of the page at the list of compiler flags. Look for flags that look + similar to `-DDYNAMIC_PYTHON_DLL=\"python27.dll\"` and + `-DDYNAMIC_PYTHON3_DLL=\"python35.dll\"`. The former indicates that Vim is + looking for Python 2.7 and the latter indicates that Vim is looking for + Python 3.5. You'll need one or the other installed, matching the version + number exactly. - [CMake][cmake-download]. Add CMake executable to the PATH environment variable. - [Visual Studio][visual-studio-download]. Download the community edition. @@ -545,10 +550,6 @@ process. critical because it must match the Python and the YCM libraries architectures. We recommend using a 64-bit Vim. - Additionally, the version of Python you install must match up exactly with the version of Python that Vim is looking for. Type `:version` and look - at the bottom of the page at the list of compiler flags. Look for flags that - look similar to `-DDYNAMIC_PYTHON_DLL=\"python27.dll\"` and `-DDYNAMIC_PYTHON3_DLL=\"python35.dll\"`. The former indicates that Vim is looking for Python 2.7 and the latter indicates that Vim is looking for Python 3.5. You'll need one or the other installed, matching the version number exactly. - 2. **Install YCM** with [Vundle][] (or [Pathogen][], but Vundle is a better idea). With Vundle, this would mean adding a `Plugin 'Valloric/YouCompleteMe'` line to your [vimrc][].