Skip to content

Commit c90e801

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 2215429 + 75f7265 commit c90e801

28 files changed

Lines changed: 541 additions & 326 deletions

runtime/doc/channel.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*channel.txt* For Vim version 7.4. Last change: 2016 Mar 14
1+
*channel.txt* For Vim version 7.4. Last change: 2016 Mar 15
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -153,6 +153,9 @@ Use |ch_status()| to see if the channel could be opened.
153153
excluding the NL.
154154
When "mode" is "raw" the "msg" argument is the whole message
155155
as a string.
156+
157+
For all callbacks: Use |function()| to bind it to arguments
158+
and/or a dictionary.
156159
*out_cb*
157160
"out_cb" A function like "callback" but used for stdout. Only for when
158161
the channel uses pipes. When "out_cb" wasn't set the channel

runtime/doc/eval.txt

Lines changed: 51 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 7.4. Last change: 2016 Mar 15
1+
*eval.txt* For Vim version 7.4. Last change: 2016 Mar 20
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -753,7 +753,12 @@ recursively. Ignoring case means case is ignored when comparing item values.
753753

754754
*E693* *E694*
755755
A |Funcref| can only be compared with a |Funcref| and only "equal" and "not
756-
equal" can be used. Case is never ignored.
756+
equal" can be used. Case is never ignored. Whether arguments or a Dictionary
757+
are bound (with a partial) is ignored. This is so that when a function is
758+
made a member of a Dictionary it is still considered to be the same function.
759+
To compare partials to see if they bind the same argument and Dictionary
760+
values use string(): >
761+
echo string(Partial1) == string(Partial2)
757762
758763
When using "is" or "isnot" with a |List| or a |Dictionary| this checks if the
759764
expressions are referring to the same |List| or |Dictionary| instance. A copy
@@ -1822,6 +1827,7 @@ ch_evalraw( {handle}, {string} [, {options}])
18221827
any evaluate {string} on raw {handle}
18231828
ch_getbufnr( {handle}, {what}) Number get buffer number for {handle}/{what}
18241829
ch_getjob( {channel}) Job get the Job of {channel}
1830+
ch_info( {handle}) String info about channel {handle}
18251831
ch_log( {msg} [, {handle}]) none write {msg} in the channel log file
18261832
ch_logfile( {fname} [, {mode}]) none start logging channel activity
18271833
ch_open( {address} [, {options}]) Channel open a channel to {address}
@@ -1832,7 +1838,7 @@ ch_sendexpr( {handle}, {expr} [, {options}])
18321838
ch_sendraw( {handle}, {string} [, {options}])
18331839
any send {string} over raw {handle}
18341840
ch_setoptions( {handle}, {options}) none set options for {handle}
1835-
ch_status( {handle}) String status of {handle}
1841+
ch_status( {handle}) String status of channel {handle}
18361842
changenr() Number current change number
18371843
char2nr( {expr}[, {utf8}]) Number ASCII/UTF8 value of first char in {expr}
18381844
cindent( {lnum}) Number C indent for line {lnum}
@@ -2759,6 +2765,32 @@ ch_getjob({channel}) *ch_getjob()*
27592765
{only available when compiled with the |+channel| and
27602766
|+job| features}
27612767

2768+
ch_info({handle}) *ch_info()*
2769+
Returns a Dictionary with information about {handle}. The
2770+
items are:
2771+
"id" number of the channel
2772+
"status" "open" (any part is open) or "closed"
2773+
When opened with ch_open():
2774+
"hostname" the hostname of the address
2775+
"port" the port of the address
2776+
"sock_status" "open" or "closed"
2777+
"sock_mode" "NL", "RAW", "JSON" or "JS"
2778+
"sock_io" "socket"
2779+
"sock_timeout" timeout in msec
2780+
When opened with job_start():
2781+
"out_status" "open" or "closed"
2782+
"out_mode" "NL", "RAW", "JSON" or "JS"
2783+
"out_io" "null", "pipe", "file" or "buffer"
2784+
"out_timeout" timeout in msec
2785+
"err_status" "open" or "closed"
2786+
"err_mode" "NL", "RAW", "JSON" or "JS"
2787+
"err_io" "out", "null", "pipe", "file" or "buffer"
2788+
"err_timeout" timeout in msec
2789+
"in_status" "open" or "closed"
2790+
"in_mode" "NL", "RAW", "JSON" or "JS"
2791+
"in_io" "null", "pipe", "file" or "buffer"
2792+
"in_timeout" timeout in msec
2793+
27622794
ch_log({msg} [, {handle}]) *ch_log()*
27632795
Write {msg} in the channel log file, if it was opened with
27642796
|ch_logfile()|.
@@ -3594,6 +3626,18 @@ function({name} [, {arglist}] [, {dict}])
35943626
< Invokes the function as with: >
35953627
call Callback('one', 'two', 'name')
35963628
3629+
< The function() call can be nested to add more arguments to the
3630+
Funcref. The extra arguments are appended to the list of
3631+
arguments. Example: >
3632+
func Callback(arg1, arg2, name)
3633+
...
3634+
let Func = function('Callback', ['one'])
3635+
let Func2 = function(Func, ['two'])
3636+
...
3637+
call Func2('name')
3638+
< Invokes the function as with: >
3639+
call Callback('one', 'two', 'name')
3640+
35973641
< The Dictionary is only useful when calling a "dict" function.
35983642
In that case the {dict} is passed in as "self". Example: >
35993643
function Callback() dict
@@ -7050,6 +7094,10 @@ timer_start({time}, {callback} [, {options}])
70507094
intervals.
70517095
{only available when compiled with the |+timers| feature}
70527096

7097+
timer_stop({timer}) *timer_stop()*
7098+
Stop a timer. {timer} is an ID returned by timer_start().
7099+
The timer callback will no longer be invoked.
7100+
70537101
tolower({expr}) *tolower()*
70547102
The result is a copy of the String given, with all uppercase
70557103
characters turned into lowercase (just like applying |gu| to

runtime/doc/helphelp.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*helphelp.txt* For Vim version 7.4. Last change: 2014 Sep 19
1+
*helphelp.txt* For Vim version 7.4. Last change: 2016 Mar 12
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -197,6 +197,9 @@ command: >
197197
*E154* *E150* *E151* *E152* *E153* *E670*
198198
:helpt[ags] [++t] {dir}
199199
Generate the help tags file(s) for directory {dir}.
200+
When {dir} is ALL then all "doc" directories in
201+
'runtimepath' will be used.
202+
200203
All "*.txt" and "*.??x" files in the directory and
201204
sub-directories are scanned for a help tag definition
202205
in between stars. The "*.??x" files are for

runtime/doc/if_lua.txt

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -410,13 +410,20 @@ This means that Vim will search for the Lua DLL or shared library file only
410410
when needed. When you don't use the Lua interface you don't need it, thus
411411
you can use Vim without this file.
412412

413-
On MS-Windows to use the Lua interface the Lua DLL must be in your search path.
414-
In a console window type "path" to see what directories are used. The version
415-
of the DLL must match the Lua version Vim was compiled with.
416413

417-
On Unix the 'luadll' option can be used to specify the Lua shared library file
418-
instead of DYNAMIC_LUA_DLL file what was specified at compile time. The
419-
version of the shared library must match the Lua version Vim was compiled with.
414+
MS-Windows ~
415+
416+
To use the Lua interface the Lua DLL must be in your search path. In a
417+
console window type "path" to see what directories are used. The 'luadll'
418+
option can be also used to specify the Lua DLL. The version of the DLL must
419+
match the Lua version Vim was compiled with.
420+
421+
422+
Unix ~
423+
424+
The 'luadll' option can be used to specify the Lua shared library file instead
425+
of DYNAMIC_LUA_DLL file what was specified at compile time. The version of
426+
the shared library must match the Lua version Vim was compiled with.
420427

421428

422429
==============================================================================

runtime/doc/if_perl.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,8 @@ used for building Vim.
284284
To use the Perl interface the Perl DLL must be in your search path.
285285
If Vim reports it cannot find the perl512.dll, make sure your $PATH includes
286286
the directory where it is located. The Perl installer normally does that.
287-
In a console window type "path" to see what directories are used.
287+
In a console window type "path" to see what directories are used. The
288+
'perldll' option can be also used to specify the Perl DLL.
288289

289290
The name of the DLL must match the Perl version Vim was compiled with.
290291
Currently the name is "perl512.dll". That is for Perl 5.12. To know for

runtime/doc/if_pyth.txt

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -686,18 +686,24 @@ This means that Vim will search for the Python DLL or shared library file only
686686
when needed. When you don't use the Python interface you don't need it, thus
687687
you can use Vim without this file.
688688

689-
On MS-Windows to use the Python interface the Python DLL must be in your search
690-
path. In a console window type "path" to see what directories are used.
689+
690+
MS-Windows ~
691+
692+
To use the Python interface the Python DLL must be in your search path. In a
693+
console window type "path" to see what directories are used. The 'pythondll'
694+
or 'pythonthreedll' option can be also used to specify the Python DLL.
691695

692696
The name of the DLL must match the Python version Vim was compiled with.
693697
Currently the name is "python24.dll". That is for Python 2.4. To know for
694698
sure edit "gvim.exe" and search for "python\d*.dll\c".
695699

696-
On Unix the 'pythondll' or 'pythonthreedll' option can be used to specify the
697-
Python shared library file instead of DYNAMIC_PYTHON_DLL or
698-
DYNAMIC_PYTHON3_DLL file what were specified at compile time. The version of
699-
the shared library must match the Python 2.x or Python 3 version Vim was
700-
compiled with.
700+
701+
Unix ~
702+
703+
The 'pythondll' or 'pythonthreedll' option can be used to specify the Python
704+
shared library file instead of DYNAMIC_PYTHON_DLL or DYNAMIC_PYTHON3_DLL file
705+
what were specified at compile time. The version of the shared library must
706+
match the Python 2.x or Python 3 version Vim was compiled with.
701707

702708
==============================================================================
703709
10. Python 3 *python3*

runtime/doc/if_ruby.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ This means that Vim will search for the Ruby DLL file or shared library only
199199
when needed. When you don't use the Ruby interface you don't need it, thus
200200
you can use Vim even though this library file is not on your system.
201201

202+
202203
MS-Windows ~
203204

204205
You need to install the right version of Ruby for this to work. You can find
@@ -207,7 +208,8 @@ http://www.garbagecollect.jp/ruby/mswin32/en/download/release.html
207208
Currently that is ruby-1.9.1-p429-i386-mswin32.zip
208209

209210
To use the Ruby interface the Ruby DLL must be in your search path. In a
210-
console window type "path" to see what directories are used.
211+
console window type "path" to see what directories are used. The 'rubydll'
212+
option can be also used to specify the Ruby DLL.
211213

212214
The name of the DLL must match the Ruby version Vim was compiled with.
213215
Currently the name is "msvcrt-ruby191.dll". That is for Ruby 1.9.1. To know
@@ -218,6 +220,7 @@ and comment-out the check for _MSC_VER.
218220
You may also need to rename the include directory name to match the version,
219221
strangely for Ruby 1.9.3 the directory is called 1.9.1.
220222

223+
221224
Unix ~
222225

223226
The 'rubydll' option can be used to specify the Ruby shared library file

runtime/doc/if_tcl.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,8 @@ can use Vim without this file.
526526
MS-Windows ~
527527

528528
To use the Tcl interface the Tcl DLL must be in your search path. In a
529-
console window type "path" to see what directories are used.
529+
console window type "path" to see what directories are used. The 'tcldll'
530+
option can be also used to specify the Tcl DLL.
530531

531532
The name of the DLL must match the Tcl version Vim was compiled with.
532533
Currently the name is "tcl86.dll". That is for Tcl 8.6. To know for sure

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 Mar 04
1+
*index.txt* For Vim version 7.4. Last change: 2016 Mar 12
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1397,6 +1397,7 @@ tag command action ~
13971397
|:ounmenu| :ounme[nu] remove menu for Operator-pending mode
13981398
|:ownsyntax| :ow[nsyntax] set new local syntax highlight for this window
13991399
|:packadd| :pa[ckadd] add a plugin from 'packpath'
1400+
|:packloadall| :packl[oadall] load all packages under 'packpath'
14001401
|:pclose| :pc[lose] close preview window
14011402
|:pedit| :ped[it] edit file in the preview window
14021403
|:perl| :pe[rl] execute Perl command

runtime/doc/quickfix.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*quickfix.txt* For Vim version 7.4. Last change: 2016 Jan 21
1+
*quickfix.txt* For Vim version 7.4. Last change: 2016 Mar 19
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -56,6 +56,10 @@ The following quickfix commands can be used. The location list commands are
5656
similar to the quickfix commands, replacing the 'c' prefix in the quickfix
5757
command with 'l'.
5858

59+
*E924*
60+
If the current window was closed by an |autocommand| while processing a
61+
location list command, it will be aborted.
62+
5963
*:cc*
6064
:cc[!] [nr] Display error [nr]. If [nr] is omitted, the same
6165
error is displayed again. Without [!] this doesn't

0 commit comments

Comments
 (0)