Skip to content

Commit 8d213b3

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents e488e91 + 049736f commit 8d213b3

85 files changed

Lines changed: 2891 additions & 2182 deletions

Some content is hidden

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

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ maillist is also fine.
2121

2222
Please use the GitHub issues only for actual issues. If you are not 100% sure
2323
that your problem is a Vim issue, please first discuss this on the Vim user
24-
maillist. Try reproducing the problem without any plugins or settings:
24+
maillist. Try reproducing the problem without any of your plugins or settings:
2525

26-
vim -N -u NONE
26+
vim --clean
2727

2828
If you report an issue, please describe exactly how to reproduce it.
2929
For example, don't say "insert some text" but say what you did exactly:

Filelist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,6 @@ SRC_DOS = \
450450
src/iscygpty.h \
451451
src/iid_ole.c \
452452
src/os_dos.h \
453-
src/os_w32dll.c \
454453
src/os_w32exe.c \
455454
src/os_win32.c \
456455
src/os_mswin.c \
@@ -509,13 +508,14 @@ SRC_DOS_BIN = \
509508
src/vim.tlb \
510509
src/xpm/COPYRIGHT \
511510
src/xpm/README.txt \
511+
src/xpm/arm64/lib-vc14/libXpm.lib \
512512
src/xpm/include/*.h \
513+
src/xpm/x64/lib-vc14/libXpm.lib \
513514
src/xpm/x64/lib/libXpm.a \
514515
src/xpm/x64/lib/libXpm.lib \
515-
src/xpm/x64/lib-vc14/libXpm.lib \
516+
src/xpm/x86/lib-vc14/libXpm.lib \
516517
src/xpm/x86/lib/libXpm.a \
517518
src/xpm/x86/lib/libXpm.lib \
518-
src/xpm/x86/lib-vc14/libXpm.lib \
519519
nsis/icons.zip \
520520

521521
# source files for Amiga, DOS, etc. (also in the extra archive)

runtime/doc/autocmd.txt

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim version 8.1. Last change: 2019 Mar 13
1+
*autocmd.txt* For Vim version 8.1. Last change: 2019 Apr 04
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -52,15 +52,21 @@ effects. Be careful not to destroy your text.
5252
2. Defining autocommands *autocmd-define*
5353

5454
*:au* *:autocmd*
55-
:au[tocmd] [group] {event} {pat} [nested] {cmd}
55+
:au[tocmd] [group] {event} {pat} [++once] [++nested] {cmd}
5656
Add {cmd} to the list of commands that Vim will
5757
execute automatically on {event} for a file matching
5858
{pat} |autocmd-patterns|.
5959
Note: A quote character is seen as argument to the
6060
:autocmd and won't start a comment.
6161
Vim always adds the {cmd} after existing autocommands,
6262
so that the autocommands execute in the order in which
63-
they were given. See |autocmd-nested| for [nested].
63+
they were given.
64+
See |autocmd-nested| for [++nested]. "nested"
65+
(without the ++) can also be used, for backwards
66+
compatibility.
67+
*autocmd-once*
68+
If [++once] is supplied the command is executed once,
69+
then removed ("one shot").
6470

6571
The special pattern <buffer> or <buffer=N> defines a buffer-local autocommand.
6672
See |autocmd-buflocal|.
@@ -128,10 +134,11 @@ prompt. When one command outputs two messages this can happen anyway.
128134
==============================================================================
129135
3. Removing autocommands *autocmd-remove*
130136

131-
:au[tocmd]! [group] {event} {pat} [nested] {cmd}
137+
:au[tocmd]! [group] {event} {pat} [++once] [++nested] {cmd}
132138
Remove all autocommands associated with {event} and
133-
{pat}, and add the command {cmd}. See
134-
|autocmd-nested| for [nested].
139+
{pat}, and add the command {cmd}.
140+
See |autocmd-once| for [++once].
141+
See |autocmd-nested| for [++nested].
135142

136143
:au[tocmd]! [group] {event} {pat}
137144
Remove all autocommands associated with {event} and
@@ -1473,7 +1480,7 @@ By default, autocommands do not nest. For example, if you use ":e" or ":w" in
14731480
an autocommand, Vim does not execute the BufRead and BufWrite autocommands for
14741481
those commands. If you do want this, use the "nested" flag for those commands
14751482
in which you want nesting. For example: >
1476-
:autocmd FileChangedShell *.c nested e!
1483+
:autocmd FileChangedShell *.c ++nested e!
14771484
The nesting is limited to 10 levels to get out of recursive loops.
14781485

14791486
It's possible to use the ":au" command in an autocommand. This can be a

0 commit comments

Comments
 (0)