Skip to content

Commit d96d409

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 5cc2a2b + 99c5eb4 commit d96d409

Some content is hidden

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

47 files changed

+673
-325
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ src/xxd/xxd
55
src/auto/if_perl.c
66
src/auto/gui_gtk_gresources.c
77
src/auto/gui_gtk_gresources.h
8+
src/objects/.dirstamp
89
src/tags
910

1011
# We do need src/auto/configure.

runtime/compiler/ghc.vim

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
" Vim compiler file
2+
" Compiler: GHC Haskell Compiler
3+
" Maintainer: Daniel Campoverde <[email protected]>
4+
" Latest Revision: 2016-11-29
5+
6+
if exists("current_compiler")
7+
finish
8+
endif
9+
let current_compiler = "ghc"
10+
11+
let s:cpo_save = &cpo
12+
set cpo&vim
13+
14+
CompilerSet errorformat=
15+
\%-G%.%#:\ build,
16+
\%-G%.%#preprocessing\ library\ %.%#,
17+
\%-G[%.%#]%.%#,
18+
\%E%f:%l:%c:\ %m,
19+
\%-G--%.%#
20+
21+
if exists('g:compiler_ghc_ignore_unmatched_lines')
22+
CompilerSet errorformat+=%-G%.%#
23+
endif
24+
25+
let &cpo = s:cpo_save
26+
unlet s:cpo_save

runtime/doc/change.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*change.txt* For Vim version 8.0. Last change: 2016 Oct 02
1+
*change.txt* For Vim version 8.0. Last change: 2016 Nov 19
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -684,6 +684,7 @@ g& Synonym for `:%s//~/&` (repeat last substitute with
684684
*:s_flags*
685685
The flags that you can use for the substitute commands:
686686

687+
*:&&*
687688
[&] Must be the first one: Keep the flags from the previous substitute
688689
command. Examples: >
689690
:&&

runtime/doc/channel.txt

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

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -155,7 +155,13 @@ Use |ch_status()| to see if the channel could be opened.
155155
func MyCloseHandler(channel)
156156
< Vim will invoke callbacks that handle data before invoking
157157
close_cb, thus when this function is called no more data will
158-
be received.
158+
be passed to the callbacks.
159+
*channel-drop*
160+
"drop" Specifies when to drop messages:
161+
"auto" When there is no callback to handle a message.
162+
The "close_cb" is also considered for this.
163+
"never" All messages will be kept.
164+
159165
*waittime*
160166
"waittime" The time to wait for the connection to be made in
161167
milliseconds. A negative number waits forever.
@@ -474,11 +480,6 @@ This depends on the system (on Unix this happens because closing the write end
474480
of a pipe causes the read end to get EOF). To avoid this make the job sleep
475481
for a short while before it exits.
476482

477-
Note that if the job exits before you read the output, the output may be lost.
478-
This depends on the system (on Unix this happens because closing the write end
479-
of a pipe causes the read end to get EOF). To avoid this make the job sleep
480-
for a short while before it exits.
481-
482483
The handler defined for "out_cb" will not receive stderr. If you want to
483484
handle that separately, add an "err_cb" handler: >
484485
let job = job_start(command, {"out_cb": "MyHandler",
@@ -543,7 +544,7 @@ You will want to do something more useful than "echomsg".
543544

544545
To start another process without creating a channel: >
545546
let job = job_start(command,
546-
\ {"in_io": "null", "out_io": "null", "err_io": "null"})
547+
\ {"in_io": "null", "out_io": "null", "err_io": "null"})
547548
548549
This starts {command} in the background, Vim does not wait for it to finish.
549550

@@ -605,6 +606,10 @@ See |job_setoptions()| and |ch_setoptions()|.
605606
"close_cb": handler Callback for when the channel is closed. Same as
606607
"close_cb" on |ch_open()|, see |close_cb|.
607608
*job-exit_cb*
609+
"drop" Specifies when to drop messages. Same as "drop" on
610+
|ch_open()|, see |channel-drop|. For "auto" the
611+
exit_cb is not considered.
612+
608613
"exit_cb": handler Callback for when the job ends. The arguments are the
609614
job and the exit status.
610615
Vim checks up to 10 times per second for jobs that
@@ -638,7 +643,7 @@ See |job_setoptions()| and |ch_setoptions()|.
638643
"channel": {channel} Use an existing channel instead of creating a new one.
639644
The parts of the channel that get used for the new job
640645
will be disconnected from what they were used before.
641-
If the channel was still use by another job this may
646+
If the channel was still used by another job this may
642647
cause I/O errors.
643648
Existing callbacks and other settings remain.
644649

@@ -656,7 +661,7 @@ See |job_setoptions()| and |ch_setoptions()|.
656661
"out_io": "null" disconnect stdout (goes to /dev/null)
657662
"out_io": "pipe" stdout is connected to the channel (default)
658663
"out_io": "file" stdout writes to a file
659-
"out_io": "buffer" stdout appends to a buffer (see below)
664+
"out_io": "buffer" stdout appends to a buffer (see below)
660665
"out_name": "/path/file" the name of the file or buffer to write to
661666
"out_buf": number the number of the buffer to write to
662667
"out_modifiable": 0 when writing to a buffer, 'modifiable' will be off
@@ -669,7 +674,7 @@ See |job_setoptions()| and |ch_setoptions()|.
669674
"err_io": "null" disconnect stderr (goes to /dev/null)
670675
"err_io": "pipe" stderr is connected to the channel (default)
671676
"err_io": "file" stderr writes to a file
672-
"err_io": "buffer" stderr appends to a buffer (see below)
677+
"err_io": "buffer" stderr appends to a buffer (see below)
673678
"err_name": "/path/file" the name of the file or buffer to write to
674679
"err_buf": number the number of the buffer to write to
675680
"err_modifiable": 0 when writing to a buffer, 'modifiable' will be off

runtime/doc/cmdline.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,11 @@ terminals)
359359
List entries 6 to 12 from the search history: >
360360
:history / 6,12
361361
<
362-
List the recent five entries from all histories: >
363-
:history all -5,
362+
List the penultimate entry from all histories: >
363+
:history all -2
364+
<
365+
List the most recent two entries from all histories: >
366+
:history all -2,
364367
365368
:keepp[atterns] {command} *:keepp* *:keeppatterns*
366369
Execute {command}, without adding anything to the search

runtime/doc/editing.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim version 8.0. Last change: 2016 Sep 27
1+
*editing.txt* For Vim version 8.0. Last change: 2016 Nov 24
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -977,12 +977,12 @@ WRITING WITH MULTIPLE BUFFERS *buffer-write*
977977

978978
*:wa* *:wall*
979979
:wa[ll] Write all changed buffers. Buffers without a file
980-
name or which are readonly are not written. {not in
981-
Vi}
980+
name cause an error message. Buffers which are
981+
readonly are not written. {not in Vi}
982982

983983
:wa[ll]! Write all changed buffers, even the ones that are
984984
readonly. Buffers without a file name are not
985-
written. {not in Vi}
985+
written and cause an error message. {not in Vi}
986986

987987

988988
Vim will warn you if you try to overwrite a file that has been changed

runtime/doc/eval.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 8.0. Last change: 2016 Nov 04
1+
*eval.txt* For Vim version 8.0. Last change: 2016 Nov 29
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3084,7 +3084,7 @@ ch_log({msg} [, {handle}]) *ch_log()*
30843084
|ch_logfile()|.
30853085
When {handle} is passed the channel number is used for the
30863086
message.
3087-
{handle} can be Channel or a Job that has a Channel. The
3087+
{handle} can be a Channel or a Job that has a Channel. The
30883088
Channel must be open for the channel number to be used.
30893089

30903090
ch_logfile({fname} [, {mode}]) *ch_logfile()*

runtime/doc/motion.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*motion.txt* For Vim version 8.0. Last change: 2016 Jul 12
1+
*motion.txt* For Vim version 8.0. Last change: 2016 Nov 24
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -915,6 +915,7 @@ was made yet in the current file.
915915
then the position can be near the end of what the
916916
command changed. For example when inserting a word,
917917
the position will be on the last character.
918+
To jump to older changes use |g;|.
918919
{not in Vi}
919920

920921
*'(* *`(*

runtime/doc/options.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 8.0. Last change: 2016 Oct 12
1+
*options.txt* For Vim version 8.0. Last change: 2016 Nov 26
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -242,7 +242,7 @@ opt+=val" the expansion is done before the adding or removing.
242242
Handling of local options *local-options*
243243

244244
Some of the options only apply to a window or buffer. Each window or buffer
245-
has its own copy of this option, thus can each have their own value. This
245+
has its own copy of this option, thus each can have its own value. This
246246
allows you to set 'list' in one window but not in another. And set
247247
'shiftwidth' to 3 in one buffer and 4 in another.
248248

@@ -3984,6 +3984,8 @@ A jump table for the options with a short description can be found at |Q_op|.
39843984

39853985
The format of this option is like that of 'statusline'.
39863986
'guitabtooltip' is used for the tooltip, see below.
3987+
The expression will be evaluated in the |sandbox| when set from a
3988+
modeline, see |sandbox-option|.
39873989

39883990
Only used when the GUI tab pages line is displayed. 'e' must be
39893991
present in 'guioptions'. For the non-GUI tab pages line 'tabline' is
@@ -5851,6 +5853,8 @@ A jump table for the options with a short description can be found at |Q_op|.
58515853
and |+postscript| features}
58525854
Expression used to print the PostScript produced with |:hardcopy|.
58535855
See |pexpr-option|.
5856+
This option cannot be set from a |modeline| or in the |sandbox|, for
5857+
security reasons.
58545858

58555859
*'printfont'* *'pfn'*
58565860
'printfont' 'pfn' string (default "courier")
@@ -8003,7 +8007,7 @@ A jump table for the options with a short description can be found at |Q_op|.
80038007
Amiga console, Win32 console, all GUI versions and terminals with a
80048008
non-empty 't_ts' option).
80058009
When Vim was compiled with HAVE_X11 defined, the original title will
8006-
be restored if possible |X11|.
8010+
be restored if possible, see |X11|.
80078011
When this option contains printf-style '%' items, they will be
80088012
expanded according to the rules used for 'statusline'.
80098013
Example: >

runtime/doc/starting.txt

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

33

44
VIM REFERENCE MANUAL by Bram Moolenaar

0 commit comments

Comments
 (0)