summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-01 19:41:43 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-01 19:41:43 +0100
commitab55c6826f9080477fea6d5593f0b77931acfc1d (patch)
tree8eab5db5e705485fdca410222977a7abe5d7cdcf /src/ex_docmd.c
parenteab6dff19f387469a200011bc6cf3508f5e43a4a (diff)
patch 8.2.0344: ":def" not skipped properlyv8.2.0344
Problem: ":def" not skipped properly. Solution: Add CMD_def to list of commands the require evaluation even when not being executed.
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 62cab6e22f..f2fb646980 100644
--- 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