diff options
Diffstat (limited to 'src/nvim/normal_defs.h')
-rw-r--r-- | src/nvim/normal_defs.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nvim/normal_defs.h b/src/nvim/normal_defs.h index 060c1057f9..0309f6bc80 100644 --- a/src/nvim/normal_defs.h +++ b/src/nvim/normal_defs.h @@ -16,7 +16,7 @@ typedef enum { } MotionType; /// Arguments for operators. -typedef struct oparg_S { +typedef struct { int op_type; ///< current pending operator type int regname; ///< register to use for the operator MotionType motion_type; ///< type of the current cursor motion @@ -42,7 +42,7 @@ typedef struct oparg_S { } oparg_T; /// Arguments for Normal mode commands. -typedef struct cmdarg_S { +typedef struct { oparg_T *oap; ///< Operator arguments int prechar; ///< prefix character (optional, always 'g') int cmdchar; ///< command character @@ -70,6 +70,5 @@ enum { REPLACE_NL_NCHAR = -2, }; -/// columns needed by shown command -enum { SHOWCMD_COLS = 10, }; +enum { SHOWCMD_COLS = 10, }; ///< columns needed by shown command enum { SHOWCMD_BUFLEN = SHOWCMD_COLS + 1 + 30, }; |