Skip to content

Commit f391327

Browse files
committed
Updated runtime files.
1 parent 84f4996 commit f391327

File tree

16 files changed

+260
-154
lines changed

16 files changed

+260
-154
lines changed

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

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
@@ -1211,10 +1211,7 @@ A jump table for the options with a short description can be found at |Q_op|.
12111211
'bioskey' 'biosk' boolean (default on)
12121212
global
12131213
{not in Vi} {only for MS-DOS}
1214-
When on the BIOS is called to obtain a keyboard character. This works
1215-
better to detect CTRL-C, but only works for the console. When using a
1216-
terminal over a serial port reset this option.
1217-
Also see |'conskey'|.
1214+
This was for MS-DOS and is no longer supported.
12181215

12191216
*'bomb'* *'nobomb'*
12201217
'bomb' boolean (default off)
@@ -1946,13 +1943,7 @@ A jump table for the options with a short description can be found at |Q_op|.
19461943
'conskey' 'consk' boolean (default off)
19471944
global
19481945
{not in Vi} {only for MS-DOS}
1949-
When on direct console I/O is used to obtain a keyboard character.
1950-
This should work in most cases. Also see |'bioskey'|. Together,
1951-
three methods of console input are available:
1952-
'conskey' 'bioskey' action ~
1953-
on on or off direct console input
1954-
off on BIOS
1955-
off off STDIN
1946+
This was for MS-DOS and is no longer supported.
19561947

19571948
*'copyindent'* *'ci'* *'nocopyindent'* *'noci'*
19581949
'copyindent' 'ci' boolean (default off)
@@ -5412,7 +5403,6 @@ A jump table for the options with a short description can be found at |Q_op|.
54125403
*'packpath'* *'pp'*
54135404
'packpath' 'pp' string (default: see 'runtimepath')
54145405
{not in Vi}
5415-
{not available without the |+packages| feature}
54165406
Directories used to find packages. See |packages|.
54175407

54185408

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
@@ -810,7 +810,8 @@ Short explanation of each option: *option-list*
810810
'omnifunc' 'ofu' function for filetype-specific completion
811811
'opendevice' 'odev' allow reading/writing devices on MS-Windows
812812
'operatorfunc' 'opfunc' function to be called for |g@| operator
813-
'osfiletype' 'oft' no longer supported
813+
'osfiletype' 'oft' no longer supported
814+
'packpath' 'pp' list of directories used for packages
814815
'paragraphs' 'para' nroff macros that separate paragraphs
815816
'paste' allow pasting text
816817
'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
@@ -2446,6 +2446,8 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
24462446
:lo starting.txt /*:lo*
24472447
:loadk mbyte.txt /*:loadk*
24482448
:loadkeymap mbyte.txt /*:loadkeymap*
2449+
:loadp repeat.txt /*:loadp*
2450+
:loadplugin repeat.txt /*:loadplugin*
24492451
:loadview starting.txt /*:loadview*
24502452
:loc motion.txt /*:loc*
24512453
:lockmarks motion.txt /*:lockmarks*
@@ -6038,6 +6040,7 @@ ft-xml-omni insert.txt /*ft-xml-omni*
60386040
ft-xml-syntax syntax.txt /*ft-xml-syntax*
60396041
ft-xpm-syntax syntax.txt /*ft-xpm-syntax*
60406042
ft-yaml-syntax syntax.txt /*ft-yaml-syntax*
6043+
ft-zsh-syntax syntax.txt /*ft-zsh-syntax*
60416044
ft_ada.txt ft_ada.txt /*ft_ada.txt*
60426045
ft_sql.txt ft_sql.txt /*ft_sql.txt*
60436046
ftdetect filetype.txt /*ftdetect*
@@ -6829,6 +6832,7 @@ iquote motion.txt /*iquote*
68296832
is motion.txt /*is*
68306833
isdirectory() eval.txt /*isdirectory()*
68316834
islocked() eval.txt /*islocked()*
6835+
isnan() eval.txt /*isnan()*
68326836
it motion.txt /*it*
68336837
italic syntax.txt /*italic*
68346838
items() eval.txt /*items()*
@@ -6950,6 +6954,7 @@ list-repeat windows.txt /*list-repeat*
69506954
lite.vim syntax.txt /*lite.vim*
69516955
literal-string eval.txt /*literal-string*
69526956
lnum-variable eval.txt /*lnum-variable*
6957+
load-plugin repeat.txt /*load-plugin*
69536958
load-plugins starting.txt /*load-plugins*
69546959
load-vim-script repeat.txt /*load-vim-script*
69556960
local-additions help.txt /*local-additions*
@@ -9193,6 +9198,7 @@ zn fold.txt /*zn*
91939198
zo fold.txt /*zo*
91949199
zr fold.txt /*zr*
91959200
zs scroll.txt /*zs*
9201+
zsh.vim syntax.txt /*zsh.vim*
91969202
zt scroll.txt /*zt*
91979203
zuG spell.txt /*zuG*
91989204
zuW spell.txt /*zuW*

runtime/doc/todo.txt

Lines changed: 41 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 7.4. Last change: 2016 Feb 20
1+
*todo.txt* For Vim version 7.4. Last change: 2016 Feb 24
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -35,41 +35,35 @@ not be repeated below, unless there is extra information.
3535
-------------------- Known bugs and current work -----------------------
3636

3737
+channel:
38-
- channel needs both stdout and stderr (GUI implementation, queues)
39-
- ch_read() for stderr
40-
- implement TODO items in ":help channel":
41-
- implement ch_setoptions(handle, {options})
42-
- job_setoptions(job, {options})
43-
- ch_close() closes stdin/stdout/stderr
44-
- out-cb
45-
- err-cb
46-
- exit-cb move code from mch_clear_job()
47-
- job argument: killonexit
48-
- ch_getjob(handle)
49-
- ch_read(handle [, timeout])
50-
- ch_readall(handle [, timeout])
51-
- job_info() should remove usable info: process ID, run/dead, etc.
52-
- job_maystart()
53-
- job_gethandle(), job_sethandle()
54-
- add ch_status(): Whether channel is open. Perhaps also mode, timeout.
55-
- When channel closes invoke "close-cb".
56-
- Add "call" to call a function with a list of arguments. (Damien)
57-
merge "expr" and "eval", send something back if there is a third arg?
38+
- don't free channel if there are callbacks.
39+
netbeans channel leaks?
40+
- job_stop() on MS-Windows: "term" should probably do the same as "kill".
41+
- Make JSON encode and decode NaN and Infinity.
5842
- A callback on ch_sendraw() should be put at the end of the list of callback
5943
handlers. When a message arrives invoke the first one and remove it.
60-
- Support channel without socket support. Useful for starting a job with
61-
pipes. Need another feature, +socket ?
44+
- implement TODO items in ":help channel":
45+
- job_start() options:
46+
term
47+
in-io
48+
in-file
49+
out-io
50+
out-file
51+
out-buffer
52+
err-io
53+
err-file
54+
err-buffer
55+
existing channel to use
56+
- job_maystart()
57+
- add job_info(): process ID, run/dead, etc.
58+
- add ch_info(): in/out/err mode, timeout, callbacks, etc.
6259
- Move more details from eval.txt to channel.txt. Add tags in eval.txt.
6360
- When receiving malformed json starting with a quote it doesn't get
6461
discarded.
65-
- When message in queue but there is no callback, drop it after a while?
66-
- Crash when closing channel after ch_sendexpr() with callback and outstanding
67-
request (Christian Robinson).
62+
- When a message in the queue but there is no callback, drop it after a while?
63+
Add timestamp to queued messages and callbacks with ID, remove after a
64+
minute.
6865
- cleanup on exit? in mch_getout() and getout().
69-
- On Mac a 1 msec waittime is needed in ch_open(), why?
7066
- Add more log calls, basically at every branch, before every callback, etc.
71-
- Add timestamp to queued messages and callbacks with ID, remove after a
72-
minute.
7367
- add remark about undo sync, is there a way to force it?
7468
- When starting a job, have an option to open the server socket, so we know
7569
the port, and pass it to the command with --socket-fd {nr}. (Olaf Dabrunz,
@@ -82,6 +76,8 @@ not be repeated below, unless there is extra information.
8276
- For connection to server, a "keep open" flag would be useful. Retry
8377
connecting in the main loop with zero timeout.
8478

79+
Remove the sniff interface? Looks like it's dead.
80+
8581
More plugin support:
8682
- Have a way to install a callback from the main loop. Called every second or
8783
so.
@@ -94,9 +90,8 @@ More plugin support:
9490
gettabnr({id}) tab page nr of {id} or -1 if not open
9591
gotowin({id})
9692
Make it so that the window ID can be used where currently a window nr is used
97-
98-
Patch on #608: (Ken Takata)
99-
https://bitbucket.org/k_takata/vim-ktakata-mq/src/479934b94fd56b064c9e4bd8737585c5df69d56a/fix-gvimext-loadlibrary.patch?fileviewer=file-view-default
93+
Patch from Anton Lindqvist, 2016 Feb 21, to make bufwinnr() return a list.
94+
Perhaps add bufwinid() instead.
10095

10196
This difference is unexpected:
10297
echo v:true == 1
@@ -109,25 +104,11 @@ Compiler warnings. (John Marriott, Feb 17)
109104

110105
Compiler warnings in if_ole.cpp. Patch by Ken Takata, Feb 18.
111106

112-
Add "runtime/bundles" ?
113-
runtime/bundles/netrw/spec.vim
114-
runtime/bundles/netrw/autoload/netrw.vim
115-
runtime/bundles/netrw/syntax/netrw.vim
116-
etc.
117-
Need an alternative for 'runtimepath' that tells where bundles are to be
118-
found. 'bundlepath' ?
119-
The plugins under 'bundlepath' would always be loaded. Also have a path for
120-
optional plugins? 'optbundlepath'? Or have directories "bundlesdef" and
121-
"bundlesopt"?
122-
Then use a command "loadplugin" to find a plugin in "optional".
123-
"bundles" is used by some plugin managers, need another name. "packages"?
124-
Add a "requires" / "provides" mechanism?
125-
if my_feature_enabled
126-
require +python
127-
endif
128-
require my_other_plugin
129-
~/vim/packages/netrw/def/netrw/plugin/netrw.vim
130-
~/vim/packages/netrw/opt/nwdebug/plugin/nwdebug.vim
107+
When running "make install" don't overwrite the doc/tags file, generate it
108+
elsewhere, so that the distributed file doesn't change.
109+
110+
Fix to support --nofork for Windows batch files. (Kevin Cantú, 2016 Feb 23,
111+
#658)
131112

132113
Patch to add GTK 3 support. (Kazunobu Kuriyama, 2016 Feb 13)
133114

@@ -199,6 +180,14 @@ Patch for test86 and test87. (Roland Puntaier, #622)
199180
Patch for Python: #622. (Roland Puntaier, 2016 Feb 2)
200181
What does it change?
201182

183+
Win32: patch to use 64 bit stat() if possible. (Ken Takata, 2014 May 12)
184+
More tests May 14. Update May 29. Update Aug 10.
185+
Now part of large file patches. (Ken Takata, 2016 Feb 1)
186+
Two patches now? New update Feb 24.
187+
188+
Patch to support 64 bit ints for Number. (Ken Takata, 2016 Jan 21)
189+
Also in update of Feb 24?
190+
202191
Need to try out instructions in INSSTALLpc.txt about how to install all
203192
interfaces and how to build Vim with them.
204193
Appveyor build with self-installing executable, includes getting most
@@ -251,12 +240,7 @@ directory exists. (Sergio Gallelli, 2013 Dec 29)
251240
Patch to avoid redrawing tabline when the popup menu is visible.
252241
(Christian Brabandt, 2016 Jan 28)
253242

254-
Win32: patch to use 64 bit stat() if possible. (Ken Takata, 2014 May 12)
255-
More tests May 14. Update May 29. Update Aug 10.
256-
Now part of large file patches. (Ken Takata, 2016 Feb 1)
257-
Two patches now?
258-
259-
Patch to support 64 bit ints for Number. (Ken Takata, 2016 Jan 21)
243+
Patch to add {skip} argument to search(). (Christian Brabandt, 2016 Feb 24)
260244

261245
7 Add a watchpoint in the debug mode: An expression that breaks execution
262246
when evaluating to non-zero. Add the "watchadd expr" command, stop when

0 commit comments

Comments
 (0)