aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/ex_docmd.c3
-rw-r--r--src/nvim/fileio.h1
-rw-r--r--src/nvim/version.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index 7e0122acd2..134def0c2c 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -1464,8 +1464,7 @@ static char_u * do_one_cmd(char_u **cmdlinep,
if (p != NULL && ea.cmdidx == CMD_SIZE && !ea.skip
&& ASCII_ISUPPER(*ea.cmd)
&& has_cmdundefined()) {
- char_u *p = ea.cmd;
-
+ p = ea.cmd;
while (ASCII_ISALNUM(*p)) {
++p;
}
diff --git a/src/nvim/fileio.h b/src/nvim/fileio.h
index 7e4ced554d..29bd1307f6 100644
--- a/src/nvim/fileio.h
+++ b/src/nvim/fileio.h
@@ -99,6 +99,7 @@ typedef enum auto_event {
EVENT_SHELLFILTERPOST, /* after ":1,2!cmd", ":w !cmd", ":r !cmd". */
EVENT_TEXTCHANGED, /* text was modified */
EVENT_TEXTCHANGEDI, /* text was modified in Insert mode*/
+ EVENT_CMDUNDEFINED, ///< command undefined
NUM_EVENTS /* MUST be the last one */
} event_T;
diff --git a/src/nvim/version.c b/src/nvim/version.c
index 7f80c57242..9b5b995801 100644
--- a/src/nvim/version.c
+++ b/src/nvim/version.c
@@ -250,7 +250,7 @@ static int included_patches[] = {
418,
//417,
//416,
- //415,
+ 415,
414,
//413 NA
//412 NA