forked from aniani/vim
patch 8.1.0096: inconsistent use of the word autocommands
Problem: Inconsistent use of the word autocommands. Solution: Don't use auto-commands or "auto commands".
This commit is contained in:
16
src/fileio.c
16
src/fileio.c
@@ -8412,19 +8412,19 @@ au_event_restore(char_u *old_ei)
|
|||||||
* will be automatically executed for <event>
|
* will be automatically executed for <event>
|
||||||
* when editing a file matching <pat>, in
|
* when editing a file matching <pat>, in
|
||||||
* the current group.
|
* the current group.
|
||||||
* :autocmd <event> <pat> Show the auto-commands associated with
|
* :autocmd <event> <pat> Show the autocommands associated with
|
||||||
* <event> and <pat>.
|
* <event> and <pat>.
|
||||||
* :autocmd <event> Show the auto-commands associated with
|
* :autocmd <event> Show the autocommands associated with
|
||||||
* <event>.
|
* <event>.
|
||||||
* :autocmd Show all auto-commands.
|
* :autocmd Show all autocommands.
|
||||||
* :autocmd! <event> <pat> <cmd> Remove all auto-commands associated with
|
* :autocmd! <event> <pat> <cmd> Remove all autocommands associated with
|
||||||
* <event> and <pat>, and add the command
|
* <event> and <pat>, and add the command
|
||||||
* <cmd>, for the current group.
|
* <cmd>, for the current group.
|
||||||
* :autocmd! <event> <pat> Remove all auto-commands associated with
|
* :autocmd! <event> <pat> Remove all autocommands associated with
|
||||||
* <event> and <pat> for the current group.
|
* <event> and <pat> for the current group.
|
||||||
* :autocmd! <event> Remove all auto-commands associated with
|
* :autocmd! <event> Remove all autocommands associated with
|
||||||
* <event> for the current group.
|
* <event> for the current group.
|
||||||
* :autocmd! Remove ALL auto-commands for the current
|
* :autocmd! Remove ALL autocommands for the current
|
||||||
* group.
|
* group.
|
||||||
*
|
*
|
||||||
* Multiple events and patterns may be given separated by commas. Here are
|
* Multiple events and patterns may be given separated by commas. Here are
|
||||||
@@ -8534,7 +8534,7 @@ do_autocmd(char_u *arg_in, int forceit)
|
|||||||
if (!forceit && *cmd == NUL)
|
if (!forceit && *cmd == NUL)
|
||||||
{
|
{
|
||||||
/* Highlight title */
|
/* Highlight title */
|
||||||
MSG_PUTS_TITLE(_("\n--- Auto-Commands ---"));
|
MSG_PUTS_TITLE(_("\n--- Autocommands ---"));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -761,6 +761,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
96,
|
||||||
/**/
|
/**/
|
||||||
95,
|
95,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user