changeset 19575:3c0de44077cd v8.2.0344

patch 8.2.0344: ":def" not skipped properly Commit: https://github.com/vim/vim/commit/ab55c6826f9080477fea6d5593f0b77931acfc1d Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 1 19:41:43 2020 +0100 patch 8.2.0344: ":def" not skipped properly Problem: ":def" not skipped properly. Solution: Add CMD_def to list of commands the require evaluation even when not being executed.
author Bram Moolenaar <Bram@vim.org>
date Sun, 01 Mar 2020 19:45:03 +0100
parents d4deb2e50667
children d4061ce6ef53
files src/ex_docmd.c src/version.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -2357,6 +2357,7 @@ do_one_cmd(
 	    case CMD_finally:
 	    case CMD_endtry:
 	    case CMD_function:
+	    case CMD_def:
 				break;
 
 	    // Commands that handle '|' themselves.  Check: A command should
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    344,
+/**/
     343,
 /**/
     342,