diff options
Diffstat (limited to 'src/nvim/ex_docmd.h')
-rw-r--r-- | src/nvim/ex_docmd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/ex_docmd.h b/src/nvim/ex_docmd.h index dbe095ab13..7e0d3016bc 100644 --- a/src/nvim/ex_docmd.h +++ b/src/nvim/ex_docmd.h @@ -17,6 +17,9 @@ #define VALID_PATH 1 #define VALID_HEAD 2 +// Whether a command index indicates a user command. +#define IS_USER_CMDIDX(idx) ((int)(idx) < 0) + // Structure used to save the current state. Used when executing Normal mode // commands while in any other mode. typedef struct { |