summaryrefslogtreecommitdiffstats
path: root/src/cmdexpand.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-06-13 17:20:08 +0200
committerBram Moolenaar <Bram@vim.org>2021-06-13 17:20:08 +0200
commite70e12b32f193addae88ae8df933b04fc234550f (patch)
tree1b2043e59736b0c12cd1e1c23d2e8ebc95ca2bb6 /src/cmdexpand.c
parent2e66b0d1373891f40e2561ccd2d3369de1614bcd (diff)
patch 8.2.2991: Vim9: no completion for :vim9 and :legacyv8.2.2991
Problem: Vim9: no completion for :vim9 and :legacy. Solution: Expand argument as a command. (closes #8377)
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 c5b8f70585..ba31e928c0 100644
--- a/src/cmdexpand.c
+++ b/src/cmdexpand.c
@@ -1370,6 +1370,8 @@ set_one_cmd_context(
case CMD_verbose:
case CMD_vertical:
case CMD_windo:
+ case CMD_vim9cmd:
+ case CMD_legacy:
return arg;
case CMD_filter: