Skip to content

Commit 2dca511

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 470421a + f391327 commit 2dca511

File tree

24 files changed

+344
-170
lines changed

24 files changed

+344
-170
lines changed

appveyor.yml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,33 @@ version: "{build}"
22

33
skip_tags: true
44

5+
environment:
6+
matrix:
7+
- FEATURE: HUGE
8+
- FEATURE: NORMAL
9+
# disabled
10+
# - FEATURE: TINY
11+
# - FEATURE: SMALL
12+
# - FEATURE: BIG
13+
14+
matrix:
15+
fast_finish: true
16+
517
before_build:
618
- '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 /release'
719
# Work around for Python 2.7.11's bug
820
- reg copy HKLM\SOFTWARE\Python\PythonCore\2.7 HKLM\SOFTWARE\Python\PythonCore\2.7-32 /s /reg:32
921
- reg copy HKLM\SOFTWARE\Python\PythonCore\2.7 HKLM\SOFTWARE\Python\PythonCore\2.7-32 /s /reg:64
1022

1123
build_script:
12-
- cd src
13-
- sed -e "s/\$(LINKARGS2)/\$(LINKARGS2) | sed -e 's#.*\\\\r.*##'/" Make_mvc.mak > Make_mvc2.mak
14-
- nmake -f Make_mvc2.mak CPU=AMD64 GUI=yes IME=yes MBYTE=yes ICONV=yes DEBUG=no PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON=C:\Python27-x64 PYTHON3_VER=34 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python34-x64
15-
- .\gvim -u NONE -c "redir @a | ver | 0put a | wq!" ver.txt
16-
- type ver.txt
24+
- src/appveyor.bat
1725

1826
test_script:
19-
- cd testdir
27+
- cd src/testdir
28+
# Testing with MSVC gvim
2029
- nmake -f Make_dos.mak VIMPROG=..\gvim
30+
- nmake -f Make_dos.mak clean
31+
# Testing with MingW console version
32+
- nmake -f Make_dos.mak VIMPROG=..\vim
33+
34+
# vim: sw=2 sts=2 et ts=2 sr

runtime/doc/channel.txt

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*channel.txt* For Vim version 7.4. Last change: 2016 Feb 21
1+
*channel.txt* For Vim version 7.4. Last change: 2016 Feb 23
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -160,9 +160,13 @@ Use |ch_status()| to see if the channel could be opened.
160160
func MyCloseHandler(channel)
161161
< *waittime*
162162
"waittime" The time to wait for the connection to be made in
163-
milliseconds. The default is zero, don't wait, which is
164-
useful if the server is supposed to be running already. A
165-
negative number waits forever.
163+
milliseconds. A negative number waits forever.
164+
165+
The default is zero, don't wait, which is useful if a local
166+
server is supposed to be running already. On Unix Vim
167+
actually uses a 1 msec timeout, that is required on many
168+
systems. Use a larger value for a remote server, e.g. 10
169+
msec at least.
166170

167171
"timeout" The time to wait for a request when blocking, E.g. when using
168172
ch_sendexpr(). In milliseconds. The default is 2000 (2
@@ -253,7 +257,8 @@ Then channel handler will then get {response} converted to Vim types. If the
253257
channel does not have a handler the message is dropped.
254258

255259
On read error or ch_close(), when using a socket, the string "DETACH" is sent,
256-
if still possible. The channel will then be inactive.
260+
if still possible. The channel will then be inactive. For a JSON and JS mode
261+
channel quotes are used around DETACH, otherwise there are no quotes.
257262

258263
It is also possible to use ch_sendraw() on a JSON or JS channel. The caller
259264
is then completely responsible for correct encoding and decoding.

runtime/doc/eval.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 7.4. Last change: 2016 Feb 21
1+
*eval.txt* For Vim version 7.4. Last change: 2016 Feb 23
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1961,6 +1961,7 @@ insert( {list}, {item} [, {idx}]) List insert {item} in {list} [before {idx}]
19611961
invert( {expr}) Number bitwise invert
19621962
isdirectory( {directory}) Number TRUE if {directory} is a directory
19631963
islocked( {expr}) Number TRUE if {expr} is locked
1964+
isnan( {expr}) Number TRUE if {expr} is NaN
19641965
items( {dict}) List key-value pairs in {dict}
19651966
job_getchannel( {job}) Channel get the channel handle for {job}
19661967
job_setoptions( {job}, {options}) none set options for {job}
@@ -4397,6 +4398,13 @@ islocked({expr}) *islocked()* *E786*
43974398
< When {expr} is a variable that does not exist you get an error
43984399
message. Use |exists()| to check for existence.
43994400

4401+
isnan({expr}) *isnan()*
4402+
Return non-zero if {expr} is a float with value NaN. >
4403+
echo isnan(0.0 / 0.0)
4404+
< 1 ~
4405+
4406+
{only available when compiled with the |+float| feature}
4407+
44004408
items({dict}) *items()*
44014409
Return a |List| with all the key-value pairs of {dict}. Each
44024410
|List| item is a list with two items: the key of a {dict}

runtime/doc/help.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*help.txt* For Vim version 7.4. Last change: 2016 Jan 10
1+
*help.txt* For Vim version 7.4. Last change: 2016 Feb 22
22

33
VIM - main help file
44
k
@@ -155,7 +155,6 @@ Special issues ~
155155

156156
GUI ~
157157
|gui.txt| Graphical User Interface (GUI)
158-
|gui_w16.txt| Windows 3.1 GUI
159158
|gui_w32.txt| Win32 GUI
160159
|gui_x11.txt| X11 GUI
161160
|gui_mac.txt| MacVim GUI

runtime/doc/index.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*index.txt* For Vim version 7.4. Last change: 2016 Jan 19
1+
*index.txt* For Vim version 7.4. Last change: 2016 Feb 24
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1324,6 +1324,7 @@ tag command action ~
13241324
|:lnfile| :lnf[ile] go to first location in next file
13251325
|:lnoremap| :ln[oremap] like ":noremap!" but includes Lang-Arg mode
13261326
|:loadkeymap| :loadk[eymap] load the following keymaps until EOF
1327+
|:loadplugin| :loadp[lugin] load a plugin from 'packpath'
13271328
|:loadview| :lo[adview] load view for current window from a file
13281329
|:lockmarks| :loc[kmarks] following command keeps marks where they are
13291330
|:lockvar| :lockv[ar] lock variables

runtime/doc/options.txt

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 7.4. Last change: 2016 Feb 21
1+
*options.txt* For Vim version 7.4. Last change: 2016 Feb 24
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1216,10 +1216,7 @@ A jump table for the options with a short description can be found at |Q_op|.
12161216
'bioskey' 'biosk' boolean (default on)
12171217
global
12181218
{not in Vi} {only for MS-DOS}
1219-
When on the BIOS is called to obtain a keyboard character. This works
1220-
better to detect CTRL-C, but only works for the console. When using a
1221-
terminal over a serial port reset this option.
1222-
Also see |'conskey'|.
1219+
This was for MS-DOS and is no longer supported.
12231220

12241221
*'blurradius'* *'blur'*
12251222
'blurradius' 'blur' number (default 0)
@@ -1959,13 +1956,7 @@ A jump table for the options with a short description can be found at |Q_op|.
19591956
'conskey' 'consk' boolean (default off)
19601957
global
19611958
{not in Vi} {only for MS-DOS}
1962-
When on direct console I/O is used to obtain a keyboard character.
1963-
This should work in most cases. Also see |'bioskey'|. Together,
1964-
three methods of console input are available:
1965-
'conskey' 'bioskey' action ~
1966-
on on or off direct console input
1967-
off on BIOS
1968-
off off STDIN
1959+
This was for MS-DOS and is no longer supported.
19691960

19701961
*'copyindent'* *'ci'* *'nocopyindent'* *'noci'*
19711962
'copyindent' 'ci' boolean (default off)
@@ -5548,7 +5539,6 @@ A jump table for the options with a short description can be found at |Q_op|.
55485539
*'packpath'* *'pp'*
55495540
'packpath' 'pp' string (default: see 'runtimepath')
55505541
{not in Vi}
5551-
{not available without the |+packages| feature}
55525542
Directories used to find packages. See |packages|.
55535543

55545544

runtime/doc/quickref.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*quickref.txt* For Vim version 7.4. Last change: 2015 Nov 10
1+
*quickref.txt* For Vim version 7.4. Last change: 2016 Feb 24
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -815,7 +815,8 @@ Short explanation of each option: *option-list*
815815
'omnifunc' 'ofu' function for filetype-specific completion
816816
'opendevice' 'odev' allow reading/writing devices on MS-Windows
817817
'operatorfunc' 'opfunc' function to be called for |g@| operator
818-
'osfiletype' 'oft' no longer supported
818+
'osfiletype' 'oft' no longer supported
819+
'packpath' 'pp' list of directories used for packages
819820
'paragraphs' 'para' nroff macros that separate paragraphs
820821
'paste' allow pasting text
821822
'pastetoggle' 'pt' key code that causes 'paste' to toggle

runtime/doc/repeat.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*repeat.txt* For Vim version 7.4. Last change: 2016 Feb 21
1+
*repeat.txt* For Vim version 7.4. Last change: 2016 Feb 24
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -227,8 +227,6 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
227227

228228
Also see |load-plugin|.
229229

230-
{not available without the |+packages| feature}
231-
232230
:scripte[ncoding] [encoding] *:scripte* *:scriptencoding* *E167*
233231
Specify the character encoding used in the script.
234232
The following lines will be converted from [encoding]

runtime/doc/syntax.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 7.4. Last change: 2016 Jan 28
1+
*syntax.txt* For Vim version 7.4. Last change: 2016 Feb 24
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3361,6 +3361,13 @@ Note that schemas are not actually limited to plain scalars, but this is the
33613361
only difference between schemas defined in YAML specification and the only
33623362
difference defined in the syntax file.
33633363

3364+
3365+
ZSH *zsh.vim* *ft-zsh-syntax*
3366+
3367+
The syntax script for zsh allows for syntax-based folding: >
3368+
3369+
:let g:zsh_fold_enable = 1
3370+
33643371
==============================================================================
33653372
5. Defining a syntax *:syn-define* *E410*
33663373

runtime/doc/tags

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2465,6 +2465,8 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
24652465
:lo starting.txt /*:lo*
24662466
:loadk mbyte.txt /*:loadk*
24672467
:loadkeymap mbyte.txt /*:loadkeymap*
2468+
:loadp repeat.txt /*:loadp*
2469+
:loadplugin repeat.txt /*:loadplugin*
24682470
:loadview starting.txt /*:loadview*
24692471
:loc motion.txt /*:loc*
24702472
:lockmarks motion.txt /*:lockmarks*
@@ -6094,6 +6096,7 @@ ft-xml-omni insert.txt /*ft-xml-omni*
60946096
ft-xml-syntax syntax.txt /*ft-xml-syntax*
60956097
ft-xpm-syntax syntax.txt /*ft-xpm-syntax*
60966098
ft-yaml-syntax syntax.txt /*ft-yaml-syntax*
6099+
ft-zsh-syntax syntax.txt /*ft-zsh-syntax*
60976100
ft_ada.txt ft_ada.txt /*ft_ada.txt*
60986101
ft_sql.txt ft_sql.txt /*ft_sql.txt*
60996102
ftdetect filetype.txt /*ftdetect*
@@ -6888,6 +6891,7 @@ iquote motion.txt /*iquote*
68886891
is motion.txt /*is*
68896892
isdirectory() eval.txt /*isdirectory()*
68906893
islocked() eval.txt /*islocked()*
6894+
isnan() eval.txt /*isnan()*
68916895
it motion.txt /*it*
68926896
italic syntax.txt /*italic*
68936897
items() eval.txt /*items()*
@@ -7009,6 +7013,7 @@ list-repeat windows.txt /*list-repeat*
70097013
lite.vim syntax.txt /*lite.vim*
70107014
literal-string eval.txt /*literal-string*
70117015
lnum-variable eval.txt /*lnum-variable*
7016+
load-plugin repeat.txt /*load-plugin*
70127017
load-plugins starting.txt /*load-plugins*
70137018
load-vim-script repeat.txt /*load-vim-script*
70147019
local-additions help.txt /*local-additions*
@@ -9288,6 +9293,7 @@ zn fold.txt /*zn*
92889293
zo fold.txt /*zo*
92899294
zr fold.txt /*zr*
92909295
zs scroll.txt /*zs*
9296+
zsh.vim syntax.txt /*zsh.vim*
92919297
zt scroll.txt /*zt*
92929298
zuG spell.txt /*zuG*
92939299
zuW spell.txt /*zuW*

0 commit comments

Comments
 (0)