Skip to content

Commit 3c352f0

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 69d0f6e + 260addf commit 3c352f0

File tree

112 files changed

+5098
-512
lines changed

Some content is hidden

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

112 files changed

+5098
-512
lines changed

Filelist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ SRC_ALL = \
118118
src/testdir/lsan-suppress.txt \
119119
src/testdir/sautest/autoload/*.vim \
120120
src/testdir/runtest.vim \
121+
src/testdir/summarize.vim \
121122
src/testdir/shared.vim \
122123
src/testdir/screendump.vim \
123124
src/testdir/view_util.vim \

runtime/doc/autocmd.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim version 8.1. Last change: 2019 May 05
1+
*autocmd.txt* For Vim version 8.1. Last change: 2019 Jun 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1365,7 +1365,7 @@ have changed autocommands, or when Vim has executed the wrong autocommands
13651365
Note that the 'eventignore' option applies here too. Events listed in this
13661366
option will not cause any commands to be executed.
13671367

1368-
*:do* *:doau* *:doautocmd* *E217*
1368+
*:do* *:doau* *:doaut* *:doautocmd* *E217*
13691369
:do[autocmd] [<nomodeline>] [group] {event} [fname]
13701370
Apply the autocommands matching [fname] (default:
13711371
current file name) for {event} to the current buffer.

runtime/doc/diff.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*diff.txt* For Vim version 8.1. Last change: 2019 May 04
1+
*diff.txt* For Vim version 8.1. Last change: 2019 Jun 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -185,7 +185,7 @@ hidden buffers. You can use ":hide" to close a window without unloading the
185185
buffer. If you don't want a buffer to remain used for the diff do ":set
186186
nodiff" before hiding it.
187187

188-
*:dif* *:diffupdate*
188+
*:dif* *:diff* *:diffupdate*
189189
:dif[fupdate][!] Update the diff highlighting and folds.
190190

191191
Vim attempts to keep the differences updated when you make changes to the

runtime/doc/editing.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim version 8.1. Last change: 2019 May 07
1+
*editing.txt* For Vim version 8.1. Last change: 2019 Jun 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -593,7 +593,7 @@ You can use the argument list with the following commands, and with the
593593
expression functions |argc()| and |argv()|. These all work on the argument
594594
list of the current window.
595595

596-
*:ar* *:args*
596+
*:ar* *:arg* *:args*
597597
:ar[gs] Print the argument list, with the current file in
598598
square brackets.
599599

runtime/doc/eval.txt

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 8.1. Last change: 2019 May 30
1+
*eval.txt* For Vim version 8.1. Last change: 2019 Jun 06
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1504,8 +1504,10 @@ One local buffer variable is predefined:
15041504
*b:changedtick* *changetick*
15051505
b:changedtick The total number of changes to the current buffer. It is
15061506
incremented for each change. An undo command is also a change
1507-
in this case. This can be used to perform an action only when
1508-
the buffer has changed. Example: >
1507+
in this case. Resetting 'modified' when writing the buffer is
1508+
also counted.
1509+
This can be used to perform an action only when the buffer has
1510+
changed. Example: >
15091511
:if my_changedtick != b:changedtick
15101512
: let my_changedtick = b:changedtick
15111513
: call My_Update()
@@ -8597,7 +8599,7 @@ sign_getplaced([{expr} [, {dict}]]) *sign_getplaced()*
85978599
priority sign priority
85988600

85998601
The returned signs in a buffer are ordered by their line
8600-
number.
8602+
number and priority.
86018603

86028604
Returns an empty list on failure or if there are no placed
86038605
signs.
@@ -9558,6 +9560,11 @@ term_dumpdiff({filename}, {filename} [, {options}])
95589560
"curwin" use the current window, do not split the
95599561
window; fails if the current buffer
95609562
cannot be |abandon|ed
9563+
"bufnr" do not create a new buffer, use the
9564+
existing buffer "bufnr". This buffer
9565+
must have been previously created with
9566+
term_dumpdiff() or term_dumpload() and
9567+
visible in a window.
95619568
"norestore" do not add the terminal window to a
95629569
session file
95639570

@@ -10329,6 +10336,8 @@ win_execute({id}, {command} [, {silent}]) *win_execute()*
1032910336
call win_execute(winid, 'set syntax=python')
1033010337
< Doing the same with `setwinvar()` would not trigger
1033110338
autocommands and not actually show syntax highlighting.
10339+
*E994*
10340+
Not all commands are allowed in popup windows.
1033210341

1033310342
win_findbuf({bufnr}) *win_findbuf()*
1033410343
Returns a list with |window-ID|s for windows that contain
@@ -11578,7 +11587,7 @@ text...
1157811587
opposite of |:lockvar|.
1157911588

1158011589

11581-
:if {expr1} *:if* *:endif* *:en* *E171* *E579* *E580*
11590+
:if {expr1} *:if* *:end* *:endif* *:en* *E171* *E579* *E580*
1158211591
:en[dif] Execute the commands until the next matching ":else"
1158311592
or ":endif" if {expr1} evaluates to non-zero.
1158411593

@@ -13061,8 +13070,16 @@ missing: >
1306113070
: echo "You will _never_ see this message"
1306213071
:endif
1306313072
13064-
To execute a command only when the |+eval| feature is disabled requires a trick,
13065-
as this example shows: >
13073+
To execute a command only when the |+eval| feature is disabled can be done in
13074+
two ways. The simplest is to exit the script (or Vim) prematurely: >
13075+
if 1
13076+
echo "commands executed with +eval"
13077+
finish
13078+
endif
13079+
args " command executed without +eval
13080+
13081+
If you do not want to abort loading the script you can use a trick, as this
13082+
example shows: >
1306613083
1306713084
silent! while 0
1306813085
set history=111

runtime/doc/fold.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*fold.txt* For Vim version 8.1. Last change: 2019 May 05
1+
*fold.txt* For Vim version 8.1. Last change: 2019 Jun 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -441,7 +441,7 @@ zk Move upwards to the end of the previous fold. A closed fold
441441

442442
EXECUTING COMMANDS ON FOLDS ~
443443

444-
:[range]foldd[oopen] {cmd} *:foldd* *:folddoopen*
444+
:[range]foldd[oopen] {cmd} *:foldd* *:folddo* *:folddoopen*
445445
Execute {cmd} on all lines that are not in a closed fold.
446446
When [range] is given, only these lines are used.
447447
Each time {cmd} is executed the cursor is positioned on the

runtime/doc/map.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*map.txt* For Vim version 8.1. Last change: 2019 May 05
1+
*map.txt* For Vim version 8.1. Last change: 2019 Jun 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -53,7 +53,7 @@ modes.
5353
:om[ap] {lhs} {rhs} |mapmode-o| *:om* *:omap*
5454
:map! {lhs} {rhs} |mapmode-ic| *:map!*
5555
:im[ap] {lhs} {rhs} |mapmode-i| *:im* *:imap*
56-
:lm[ap] {lhs} {rhs} |mapmode-l| *:lm* *:lmap*
56+
:lm[ap] {lhs} {rhs} |mapmode-l| *:lm* *:lma* *:lmap*
5757
:cm[ap] {lhs} {rhs} |mapmode-c| *:cm* *:cmap*
5858
:tma[p] {lhs} {rhs} |mapmode-t| *:tma* *:tmap*
5959
Map the key sequence {lhs} to {rhs} for the modes
@@ -66,12 +66,12 @@ modes.
6666
:nn[oremap] {lhs} {rhs} |mapmode-n| *:nn* *:nnoremap*
6767
:vn[oremap] {lhs} {rhs} |mapmode-v| *:vn* *:vnoremap*
6868
:xn[oremap] {lhs} {rhs} |mapmode-x| *:xn* *:xnoremap*
69-
:snor[emap] {lhs} {rhs} |mapmode-s| *:snor* *:snoremap*
69+
:snor[emap] {lhs} {rhs} |mapmode-s| *:snor* *:snore* *:snoremap*
7070
:ono[remap] {lhs} {rhs} |mapmode-o| *:ono* *:onoremap*
7171
:no[remap]! {lhs} {rhs} |mapmode-ic| *:no!* *:noremap!*
72-
:ino[remap] {lhs} {rhs} |mapmode-i| *:ino* *:inoremap*
72+
:ino[remap] {lhs} {rhs} |mapmode-i| *:ino* *:inor* *:inoremap*
7373
:ln[oremap] {lhs} {rhs} |mapmode-l| *:ln* *:lnoremap*
74-
:cno[remap] {lhs} {rhs} |mapmode-c| *:cno* *:cnoremap*
74+
:cno[remap] {lhs} {rhs} |mapmode-c| *:cno* *:cnor* *:cnoremap*
7575
:tno[remap] {lhs} {rhs} |mapmode-t| *:tno* *:tnoremap*
7676
Map the key sequence {lhs} to {rhs} for the modes
7777
where the map command applies. Disallow mapping of
@@ -88,7 +88,7 @@ modes.
8888
:unm[ap]! {lhs} |mapmode-ic| *:unm!* *:unmap!*
8989
:iu[nmap] {lhs} |mapmode-i| *:iu* *:iunmap*
9090
:lu[nmap] {lhs} |mapmode-l| *:lu* *:lunmap*
91-
:cu[nmap] {lhs} |mapmode-c| *:cu* *:cunmap*
91+
:cu[nmap] {lhs} |mapmode-c| *:cu* *:cun* *:cunmap*
9292
:tunma[p] {lhs} |mapmode-t| *:tunma* *:tunmap*
9393
Remove the mapping of {lhs} for the modes where the
9494
map command applies. The mapping may remain defined
@@ -1016,7 +1016,7 @@ See |:verbose-cmd| for more information.
10161016
:norea[bbrev] [<expr>] [<buffer>] [lhs] [rhs]
10171017
Same as ":ab", but no remapping for this {rhs}.
10181018

1019-
*:ca* *:cabbrev*
1019+
*:ca* *:cab* *:cabbrev*
10201020
:ca[bbrev] [<expr>] [<buffer>] [lhs] [rhs]
10211021
Same as ":ab", but for Command-line mode only.
10221022

runtime/doc/motion.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*motion.txt* For Vim version 8.1. Last change: 2019 May 07
1+
*motion.txt* For Vim version 8.1. Last change: 2019 Jun 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -944,7 +944,7 @@ These commands are not marks themselves, but jump to a mark:
944944
[` [count] times to lowercase mark before the cursor.
945945

946946

947-
:loc[kmarks] {command} *:loc* *:lockmarks*
947+
:loc[kmarks] {command} *:loc* *:lock* *:lockmarks*
948948
Execute {command} without adjusting marks. This is
949949
useful when changing text in a way that the line count
950950
will be the same when the change has completed.
@@ -970,7 +970,7 @@ These commands are not marks themselves, but jump to a mark:
970970
- folds
971971
- diffs
972972

973-
:kee[pmarks] {command} *:kee* *:keepmarks*
973+
:kee[pmarks] {command} *:kee* *:keep* *:keepmarks*
974974
Currently only has effect for the filter command
975975
|:range!|:
976976
- When the number of lines after filtering is equal to

0 commit comments

Comments
 (0)