0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

patch 8.1.1680: the command table is not well aligned

Problem:    The command table is not well aligned.
Solution:   Adjust indent.
This commit is contained in:
Bram Moolenaar
2019-07-13 18:17:23 +02:00
parent eaa49e40d7
commit 63d0dad874
2 changed files with 1417 additions and 1415 deletions

View File

@@ -1751,7 +1751,7 @@ EXCMD(CMD_z, "z", ex_z,
EX_RANGE|EX_WHOLEFOLD|EX_EXTRA|EX_FLAGS|EX_TRLBAR|EX_CMDWIN, EX_RANGE|EX_WHOLEFOLD|EX_EXTRA|EX_FLAGS|EX_TRLBAR|EX_CMDWIN,
ADDR_LINES), ADDR_LINES),
/* commands that don't start with a lowercase letter */ // commands that don't start with a lowercase letter
EXCMD(CMD_bang, "!", ex_bang, EXCMD(CMD_bang, "!", ex_bang,
EX_RANGE|EX_WHOLEFOLD|EX_BANG|EX_FILES|EX_CMDWIN, EX_RANGE|EX_WHOLEFOLD|EX_BANG|EX_FILES|EX_CMDWIN,
ADDR_LINES), ADDR_LINES),
@@ -1792,9 +1792,9 @@ EXCMD(CMD_tilde, "~", do_sub,
#undef EXCMD #undef EXCMD
#ifndef DO_DECLARE_EXCMD #ifndef DO_DECLARE_EXCMD
CMD_SIZE, /* MUST be after all real commands! */ CMD_SIZE, // MUST be after all real commands!
CMD_USER = -1, /* User-defined command */ CMD_USER = -1, // User-defined command
CMD_USER_BUF = -2 /* User-defined command local to buffer */ CMD_USER_BUF = -2 // User-defined command local to buffer
#endif #endif
}; };
@@ -1802,40 +1802,40 @@ EXCMD(CMD_tilde, "~", do_sub,
typedef enum CMD_index cmdidx_T; typedef enum CMD_index cmdidx_T;
/* /*
* Arguments used for Ex commands. * Arguments used for an Ex command.
*/ */
struct exarg struct exarg
{ {
char_u *arg; /* argument of the command */ char_u *arg; // argument of the command
char_u *nextcmd; /* next command (NULL if none) */ char_u *nextcmd; // next command (NULL if none)
char_u *cmd; /* the name of the command (except for :make) */ char_u *cmd; // the name of the command (except for :make)
char_u **cmdlinep; /* pointer to pointer of allocated cmdline */ char_u **cmdlinep; // pointer to pointer of allocated cmdline
cmdidx_T cmdidx; /* the index for the command */ cmdidx_T cmdidx; // the index for the command
long argt; /* flags for the command */ long argt; // flags for the command
int skip; /* don't execute the command, only parse it */ int skip; // don't execute the command, only parse it
int forceit; /* TRUE if ! present */ int forceit; // TRUE if ! present
int addr_count; /* the number of addresses given */ int addr_count; // the number of addresses given
linenr_T line1; /* the first line number */ linenr_T line1; // the first line number
linenr_T line2; /* the second line number or count */ linenr_T line2; // the second line number or count
cmd_addr_T addr_type; /* type of the count/range */ cmd_addr_T addr_type; // type of the count/range
int flags; /* extra flags after count: EXFLAG_ */ int flags; // extra flags after count: EXFLAG_
char_u *do_ecmd_cmd; /* +command arg to be used in edited file */ char_u *do_ecmd_cmd; // +command arg to be used in edited file
linenr_T do_ecmd_lnum; /* the line number in an edited file */ linenr_T do_ecmd_lnum; // the line number in an edited file
int append; /* TRUE with ":w >>file" command */ int append; // TRUE with ":w >>file" command
int usefilter; /* TRUE with ":w !command" and ":r!command" */ int usefilter; // TRUE with ":w !command" and ":r!command"
int amount; /* number of '>' or '<' for shift command */ int amount; // number of '>' or '<' for shift command
int regname; /* register name (NUL if none) */ int regname; // register name (NUL if none)
int force_bin; /* 0, FORCE_BIN or FORCE_NOBIN */ int force_bin; // 0, FORCE_BIN or FORCE_NOBIN
int read_edit; /* ++edit argument */ int read_edit; // ++edit argument
int force_ff; /* ++ff= argument (first char of argument) */ int force_ff; // ++ff= argument (first char of argument)
int force_enc; /* ++enc= argument (index in cmd[]) */ int force_enc; // ++enc= argument (index in cmd[])
int bad_char; /* BAD_KEEP, BAD_DROP or replacement byte */ int bad_char; // BAD_KEEP, BAD_DROP or replacement byte
int useridx; /* user command index */ int useridx; // user command index
char *errmsg; /* returned error message */ char *errmsg; // returned error message
char_u *(*getline)(int, void *, int, int); char_u *(*getline)(int, void *, int, int);
void *cookie; /* argument for getline() */ void *cookie; // argument for getline()
#ifdef FEAT_EVAL #ifdef FEAT_EVAL
struct condstack *cstack; /* condition stack for ":if" etc. */ struct condstack *cstack; // condition stack for ":if" etc.
#endif #endif
long verbose_save; // saved value of p_verbose long verbose_save; // saved value of p_verbose
int save_msg_silent; // saved value of msg_silent int save_msg_silent; // saved value of msg_silent
@@ -1845,12 +1845,12 @@ struct exarg
#endif #endif
}; };
#define FORCE_BIN 1 /* ":edit ++bin file" */ #define FORCE_BIN 1 // ":edit ++bin file"
#define FORCE_NOBIN 2 /* ":edit ++nobin file" */ #define FORCE_NOBIN 2 // ":edit ++nobin file"
/* Values for "flags" */ // Values for "flags"
#define EXFLAG_LIST 0x01 /* 'l': list */ #define EXFLAG_LIST 0x01 // 'l': list
#define EXFLAG_NR 0x02 /* '#': number */ #define EXFLAG_NR 0x02 // '#': number
#define EXFLAG_PRINT 0x04 /* 'p': print */ #define EXFLAG_PRINT 0x04 // 'p': print
#endif #endif

View File

@@ -777,6 +777,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 */
/**/
1680,
/**/ /**/
1679, 1679,
/**/ /**/