diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-06-13 17:20:08 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-06-13 17:20:08 +0200 |
commit | e70e12b32f193addae88ae8df933b04fc234550f (patch) | |
tree | 1b2043e59736b0c12cd1e1c23d2e8ebc95ca2bb6 /src/cmdexpand.c | |
parent | 2e66b0d1373891f40e2561ccd2d3369de1614bcd (diff) | |
download | vim-git-e70e12b32f193addae88ae8df933b04fc234550f.tar.gz |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmdexpand.c b/src/cmdexpand.c index c5b8f7058..ba31e928c 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: |