Skip to content

Commit 131cde1

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 42f5a43 + 789a5c0 commit 131cde1

File tree

200 files changed

+373
-5033
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

200 files changed

+373
-5033
lines changed

Makefile

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,17 @@ all install uninstall tools config configure reconfig proto depend lint tags typ
6767
# To do all this you need the Unix archive and compiled binaries.
6868
# Before creating an archive first delete all backup files, *.orig, etc.
6969

70-
MAJOR = 7
71-
MINOR = 4
70+
MAJOR = 8
71+
MINOR = 0
7272

7373
# CHECKLIST for creating a new version:
7474
#
75-
# - Update Vim version number. For a test version in: src/version.h, Contents,
76-
# MAJOR/MINOR above, VIMMAJOR and VIMMINOR in src/Makefile, README*.txt,
77-
# runtime/doc/*.txt and nsis/gvim.nsi.
75+
# - Update Vim version number. For a test version in: src/version.h,
76+
# READMEdir/Contents, MAJOR/MINOR above, VIMMAJOR and VIMMINOR in
77+
# src/Makefile, README.txt, README.md, READMEdir/README*.txt,
78+
# runtime/doc/*.txt and make nsis/gvim_version.nsh.
7879
# For a minor/major version: src/GvimExt/GvimExt.reg, src/vim.def,
79-
# src/vim16.def, src/gvim.exe.mnf.
80+
# src/gvim.exe.mnf.
8081
# - Compile Vim with GTK, Perl, Python, Python3, TCL, Ruby, MZscheme, Lua (if
8182
# you can make it all work), Cscope and "huge" features. Exclude workshop
8283
# and SNiFF.
@@ -96,7 +97,7 @@ MINOR = 4
9697
# - Check for missing entries in runtime/makemenu.vim (with checkmenu script).
9798
# - Check for missing options in runtime/optwin.vim et al. (with check.vim).
9899
# - Do "make menu" to update the runtime/synmenu.vim file.
99-
# - Add remarks for changes to runtime/doc/version7.txt.
100+
# - Add remarks for changes to runtime/doc/version8.txt.
100101
# - Check that runtime/doc/help.txt doesn't contain entries in "LOCAL
101102
# ADDITIONS".
102103
# - In runtime/doc run "make" and "make html" to check for errors.
@@ -140,7 +141,7 @@ MINOR = 4
140141
# > nmake -f Make_mvc.mak testclean
141142
# > nmake -f Make_mvc.mak test
142143
# - check the output.
143-
# - Rename (using tools/rename.bat):
144+
# - Rename (using ../tools/rename.bat):
144145
# vim.exe to vimw32.exe
145146
# tee/tee.exe to teew32.exe
146147
# xxd/xxd.exe to xxdw32.exe
@@ -192,6 +193,7 @@ MINOR = 4
192193
# version).
193194
# - go to ../nsis and do:
194195
# > makensis gvim.nsi (takes a few minutes).
196+
# ignore warning for libwinpthread-1.dll
195197
# - Copy gvim##.exe to the dist directory.
196198
#
197199
# 64 bit builds (these are not in the normal distribution, the 32 bit build

README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README.txt for version 7.4 of Vim: Vi IMproved.
1+
README.txt for version 8.0 of Vim: Vi IMproved.
22

33

44
WHAT IS VIM?

READMEdir/Contents

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ Vim Vi IMproved. A clone of the UNIX text editor Vi. Very useful
99
messages, shows current file name in window title, on-line
1010
help, rectangular cut/paste, etc., etc., etc...
1111

12-
Version 7.4. Also runs under UNIX, MS-Windows, Mac, etc.
13-
vim74rt.tgz contains the documentation and syntax files.
14-
vim74bin.tgz contains the binaries.
15-
vim74src.tgz contains the sources.
12+
Version 8.0. Also runs under UNIX, MS-Windows, Mac, etc.
13+
vim80rt.tgz contains the documentation and syntax files.
14+
vim80bin.tgz contains the binaries.
15+
vim80src.tgz contains the sources.
1616
Author: Bram Moolenaar et al.
1717

1818

READMEdir/README_ami.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README_ami.txt for version 7.4 of Vim: Vi IMproved.
1+
README_ami.txt for version 8.0 of Vim: Vi IMproved.
22

33
This file explains the installation of Vim on Amiga systems.
44
See README.txt for general information about Vim.
@@ -16,8 +16,8 @@ easily upgrade to a new version. For example:
1616
You would then unpack the archives like this:
1717

1818
cd dh0:editors
19-
tar xf t:vim60bin.tar
20-
tar xf t:vim60rt.tar
19+
tar xf t:vim80bin.tar
20+
tar xf t:vim80rt.tar
2121

2222
Set the $VIM environment variable to point to the top directory of your Vim
2323
files. For the above example:

READMEdir/README_amibin.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
README_amibin.txt for version 7.4 of Vim: Vi IMproved.
1+
README_amibin.txt for version 8.0 of Vim: Vi IMproved.
22

33
See "README.txt" for general information about Vim.
44
See "README_ami.txt" for installation instructions for the Amiga.
5-
These files are in the runtime archive (vim60rt.tgz).
5+
These files are in the runtime archive (vim80rt.tgz).
66

77

88
The Amiga "bin" archive contains the Vim executable for the Amiga. It was

READMEdir/README_amisrc.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
README_amisrc.txt for version 7.4 of Vim: Vi IMproved.
1+
README_amisrc.txt for version 8.0 of Vim: Vi IMproved.
22

33
See "README.txt" for general information about Vim.
44
See "README_ami.txt" for installation instructions for the Amiga.
5-
These files are in the runtime archive (vim60rt.tgz).
5+
These files are in the runtime archive (vim80rt.tgz).
66

77

88
The Amiga source archive contains the files needed to compile Vim on the

READMEdir/README_bindos.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
README_bindos.txt for version 7.4 of Vim: Vi IMproved.
1+
README_bindos.txt for version 8.0 of Vim: Vi IMproved.
22

33
See "README.txt" for general information about Vim.
44
See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows.
5-
These files are in the runtime archive (vim74rt.zip).
5+
These files are in the runtime archive (vim80rt.zip).
66

77

88
There are several binary distributions of Vim for the PC. You would normally
99
pick only one of them, but it's also possible to install several.
1010
These ones are available (the version number may differ):
11-
vim74w32.zip Windows 95/98/NT/etc. console version
12-
gvim74.zip Windows 95/98/NT/etc. GUI version
13-
gvim74ole.zip Windows 95/98/NT/etc. GUI version with OLE
11+
vim80w32.zip Windows 95/98/NT/etc. console version
12+
gvim80.zip Windows 95/98/NT/etc. GUI version
13+
gvim80ole.zip Windows 95/98/NT/etc. GUI version with OLE
1414

15-
You MUST also get the runtime archive (vim74rt.zip).
16-
The sources are also available (vim74src.zip).
15+
You MUST also get the runtime archive (vim80rt.zip).
16+
The sources are also available (vim80src.zip).

READMEdir/README_dos.txt

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README_dos.txt for version 7.4 of Vim: Vi IMproved.
1+
README_dos.txt for version 8.0 of Vim: Vi IMproved.
22

33
This file explains the installation of Vim on MS-DOS and MS-Windows systems.
44
See "README.txt" for general information about Vim.
@@ -41,19 +41,19 @@ These are the normal steps to install Vim from the .zip archives:
4141
located. Check the $VIM setting to see where it points to:
4242
set VIM
4343
For example, if you have
44-
C:\vim\vim54
44+
C:\vim\vim74
4545
do
4646
cd C:\
4747
Binary and runtime Vim archives are normally unpacked in the same location,
4848
on top of each other.
4949

50-
2. Unpack the zip archives. This will create a new directory "vim\vim74",
50+
2. Unpack the zip archives. This will create a new directory "vim\vim80",
5151
in which all the distributed Vim files are placed. Since the directory
5252
name includes the version number, it is unlikely that you overwrite
5353
existing files.
5454
Examples:
55-
pkunzip -d gvim74.zip
56-
unzip vim74w32.zip
55+
pkunzip -d gvim80.zip
56+
unzip vim80w32.zip
5757

5858
You need to unpack the runtime archive and at least one of the binary
5959
archives. When using more than one binary version, be careful not to
@@ -69,7 +69,7 @@ These are the normal steps to install Vim from the .zip archives:
6969
archive and follow the instructions in the documentation.
7070

7171
3. Change to the new directory:
72-
cd vim\vim74
72+
cd vim\vim80
7373
Run the "install.exe" program. It will ask you a number of questions about
7474
how you would like to have your Vim setup. Among these are:
7575
- You can tell it to write a "_vimrc" file with your preferences in the
@@ -80,8 +80,8 @@ These are the normal steps to install Vim from the .zip archives:
8080
console or in a shell. You can select one of the directories in your
8181
$PATH. If you skip this, you can add Vim to the search path manually:
8282
The simplest is to add a line to your autoexec.bat. Examples:
83-
set path=%path%;C:\vim\vim74
84-
set path=%path%;D:\editors\vim\vim74
83+
set path=%path%;C:\vim\vim80
84+
set path=%path%;D:\editors\vim\vim80
8585
- Create entries for Vim on the desktop and in the Start menu.
8686

8787
That's it!
@@ -93,8 +93,8 @@ Remarks:
9393
won't show a menubar. Then you need to set the $VIM environment variable to
9494
point to the top directory of your Vim files. Example:
9595
set VIM=C:\editors\vim
96-
Vim version 7.4 will look for your vimrc file in $VIM, and for the runtime
97-
files in $VIM/vim74. See ":help $VIM" for more information.
96+
Vim version 8.0 will look for your vimrc file in $VIM, and for the runtime
97+
files in $VIM/vim80. See ":help $VIM" for more information.
9898

9999
- To avoid confusion between distributed files of different versions and your
100100
own modified vim scripts, it is recommended to use this directory layout:
@@ -105,14 +105,14 @@ Remarks:
105105
C:\vim\vimfiles\ftplugin\*.vim Filetype plugins
106106
C:\vim\... Other files you made.
107107
Distributed files:
108-
C:\vim\vim74\vim.exe The Vim version 7.4 executable.
109-
C:\vim\vim74\doc\*.txt The version 7.4 documentation files.
110-
C:\vim\vim74\bugreport.vim A Vim version 7.4 script.
111-
C:\vim\vim74\... Other version 7.4 distributed files.
108+
C:\vim\vim80\vim.exe The Vim version 8.0 executable.
109+
C:\vim\vim80\doc\*.txt The version 8.0 documentation files.
110+
C:\vim\vim80\bugreport.vim A Vim version 8.0 script.
111+
C:\vim\vim80\... Other version 8.0 distributed files.
112112
In this case the $VIM environment variable would be set like this:
113113
set VIM=C:\vim
114-
Then $VIMRUNTIME will automatically be set to "$VIM\vim74". Don't add
115-
"vim74" to $VIM, that won't work.
114+
Then $VIMRUNTIME will automatically be set to "$VIM\vim80". Don't add
115+
"vim80" to $VIM, that won't work.
116116

117117
- You can put your Vim executable anywhere else. If the executable is not
118118
with the other Vim files, you should set $VIM. The simplest is to add a line
@@ -136,8 +136,8 @@ Remarks:
136136
Select Properties.
137137
5. In the Program tab, change the "Cmdline" to add "/c" and the name of the
138138
Vim executable. Examples:
139-
C:\command.com /c C:\vim\vim74\vim.exe
140-
C:\command.com /c D:\editors\vim\vim74\vim.exe
139+
C:\command.com /c C:\vim\vim80\vim.exe
140+
C:\command.com /c D:\editors\vim\vim80\vim.exe
141141
6. Select the font, window size, etc. that you like. If this isn't
142142
possible, select "Advanced" in the Program tab, and deselect "MS-DOS
143143
mode".

READMEdir/README_extra.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README_extra.txt for version 7.4 of Vim: Vi IMproved.
1+
README_extra.txt for version 8.0 of Vim: Vi IMproved.
22

33
These extra files of Vim are for special purposes. This README explains what
44
the files are for. For general information about Vim, see the "README.txt"

READMEdir/README_mac.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README_mac.txt for version 7.4 of Vim: Vi IMproved.
1+
README_mac.txt for version 8.0 of Vim: Vi IMproved.
22

33
This file explains the installation of MacVim.
44
See "README.txt" for general information about Vim.

READMEdir/README_ole.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README_ole.txt for version 7.4 of Vim: Vi IMproved.
1+
README_ole.txt for version 8.0 of Vim: Vi IMproved.
22

33
This archive contains gvim.exe with OLE interface and VisVim.
44
This version of gvim.exe can also load a number of interface dynamically (you

READMEdir/README_os2.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README_os2.txt for version 7.4 of Vim: Vi IMproved.
1+
README_os2.txt for version 8.0 of Vim: Vi IMproved.
22

33
This file used to explain the installation of Vim on OS/2 systems.
44
However, support for OS/2 has been removed in patch 7.4.1008.

READMEdir/README_os390.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README_zOS.txt for version 7.4 of Vim: Vi IMproved.
1+
README_zOS.txt for version 8.0 of Vim: Vi IMproved.
22

33
This readme explains how to build Vim on z/OS. Formerly called OS/390.
44
See "README.txt" for general information about Vim.
@@ -78,7 +78,7 @@ Change to the vim directory and do:
7878
With X11:
7979
---------
8080

81-
WARNING: This instruction was not tested with Vim 7.4.
81+
WARNING: This instruction was not tested with Vim 7.4 or later.
8282

8383
There are two ways for building VIM with X11 support. The first way is simple
8484
and results in a big executable (~13 Mb), the second needs a few additional

READMEdir/README_src.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
README_src.txt for version 7.4 of Vim: Vi IMproved.
1+
README_src.txt for version 8.0 of Vim: Vi IMproved.
22

33
The source archive contains the files needed to compile Vim on Unix systems.
44
It is packed for Unix systems (NL line separator).
55

66
For more information, see the README.txt file that comes with the runtime
7-
archive (vim-7.4-rt.tar.gz). To be able to run Vim you MUST get the runtime
7+
archive (vim-8.0-rt.tar.gz). To be able to run Vim you MUST get the runtime
88
archive too!

READMEdir/README_srcdos.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
README_srcdos.txt for version 7.4 of Vim: Vi IMproved.
1+
README_srcdos.txt for version 8.0 of Vim: Vi IMproved.
22

33
See "README.txt" for general information about Vim.
44
See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows.
5-
These files are in the runtime archive (vim74rt.zip).
5+
These files are in the runtime archive (vim80rt.zip).
66

77

88
The DOS source archive contains the files needed to compile Vim on MS-DOS or

READMEdir/README_unix.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README_unix.txt for version 7.4 of Vim: Vi IMproved.
1+
README_unix.txt for version 8.0 of Vim: Vi IMproved.
22

33
This file explains the installation of Vim on Unix systems.
44
See "README.txt" for general information about Vim.

READMEdir/README_vms.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README_vms.txt for version 7.4 of Vim: Vi IMproved.
1+
README_vms.txt for version 8.0 of Vim: Vi IMproved.
22

33
This file explains the installation of Vim on VMS systems.
44
See "README.txt" in the runtime archive for information about Vim.

READMEdir/README_w32s.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README_w32s.txt for version 7.4 of Vim: Vi IMproved.
1+
README_w32s.txt for version 8.0 of Vim: Vi IMproved.
22

33
This archive contains the gvim.exe that was specifically compiled for use in
44
the Win32s subsystem in MS-Windows 3.1 and 3.11.

nsis/gvim_version.nsh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Generated from Makefile: define the version numbers
22
!ifndef __GVIM_VER__NSH__
33
!define __GVIM_VER__NSH__
4-
!define VER_MAJOR 7
5-
!define VER_MINOR 4
4+
!define VER_MAJOR 8
5+
!define VER_MINOR 0
66
!endif

runtime/autoload/netrw.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
if &cp || exists("g:loaded_netrw")
2323
finish
2424
endif
25-
" netrw requires vim having patch 213; netrw will benefit from vim's having patch#656, too
26-
if v:version < 704 || !has("patch213")
25+
" netrw requires vim having patch 7.4.213; netrw will benefit from vim's having patch#656, too
26+
if v:version < 704 || (v:version == 704 && !has("patch213"))
2727
if !exists("s:needpatch213")
2828
unsilent echomsg "***sorry*** this version of netrw requires vim v7.4 with patch 213"
2929
endif

runtime/doc/arabic.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*arabic.txt* For Vim version 7.4. Last change: 2010 Nov 13
1+
*arabic.txt* For Vim version 8.0. Last change: 2010 Nov 13
22

33

44
VIM REFERENCE MANUAL by Nadim Shaikli

runtime/doc/autocmd.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim version 7.4. Last change: 2016 Sep 03
1+
*autocmd.txt* For Vim version 8.0. Last change: 2016 Sep 03
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar

runtime/doc/change.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*change.txt* For Vim version 7.4. Last change: 2016 Sep 11
1+
*change.txt* For Vim version 8.0. Last change: 2016 Sep 11
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar

runtime/doc/channel.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*channel.txt* For Vim version 7.4. Last change: 2016 Sep 07
1+
*channel.txt* For Vim version 8.0. Last change: 2016 Sep 11
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -277,7 +277,7 @@ With a JSON channel the process can send commands to Vim that will be
277277
handled by Vim internally, it does not require a handler for the channel.
278278

279279
Possible commands are: *E903* *E904* *E905*
280-
["redraw" {forced}]
280+
["redraw", {forced}]
281281
["ex", {Ex command}]
282282
["normal", {Normal mode command}]
283283
["expr", {expression}, {number}]

runtime/doc/cmdline.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*cmdline.txt* For Vim version 7.4. Last change: 2016 Aug 27
1+
*cmdline.txt* For Vim version 8.0. Last change: 2016 Aug 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar

runtime/doc/debug.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*debug.txt* For Vim version 7.4. Last change: 2012 Feb 11
1+
*debug.txt* For Vim version 8.0. Last change: 2012 Feb 11
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar

runtime/doc/debugger.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*debugger.txt* For Vim version 7.4. Last change: 2005 Mar 29
1+
*debugger.txt* For Vim version 8.0. Last change: 2005 Mar 29
22

33

44
VIM REFERENCE MANUAL by Gordon Prieur

runtime/doc/develop.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*develop.txt* For Vim version 7.4. Last change: 2016 Jan 31
1+
*develop.txt* For Vim version 8.0. Last change: 2016 Jan 31
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar

runtime/doc/diff.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*diff.txt* For Vim version 7.4. Last change: 2016 Aug 24
1+
*diff.txt* For Vim version 8.0. Last change: 2016 Aug 24
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar

runtime/doc/digraph.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*digraph.txt* For Vim version 7.4. Last change: 2014 Jun 19
1+
*digraph.txt* For Vim version 8.0. Last change: 2014 Jun 19
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar

0 commit comments

Comments
 (0)