summaryrefslogtreecommitdiff
path: root/src/cmdexpand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmdexpand.c')
-rw-r--r--src/cmdexpand.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmdexpand.c b/src/cmdexpand.c
index e7cf81998..f3e19bc02 100644
--- a/src/cmdexpand.c
+++ b/src/cmdexpand.c
@@ -1513,8 +1513,10 @@ set_one_cmd_context(
break;
#endif
#ifdef FEAT_EVAL
+ case CMD_final:
case CMD_const:
case CMD_let:
+ case CMD_var:
case CMD_if:
case CMD_elseif:
case CMD_while: