summaryrefslogtreecommitdiff
path: root/src/ex_cmds.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-08-02 22:26:56 +0200
committerBram Moolenaar <Bram@vim.org>2021-08-02 22:26:56 +0200
commit2c70711e3fb2ef24a7f55322fdadbf7f9e657c2f (patch)
tree296e5fdfaca0c7ee368ef24b6857550114b78633 /src/ex_cmds.h
parent7bf9a07bd7d6264f623109c2896b2a4002c86080 (diff)
downloadvim-git-2c70711e3fb2ef24a7f55322fdadbf7f9e657c2f.tar.gz
patch 8.2.3279: Vim9: cannot use block in cmdline windowv8.2.3279
Problem: Vim9: cannot use block in cmdline window. Solution: Add EX_CMDWIN to the CMD_block flags. (closes #8689)
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r--src/ex_cmds.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h
index 8596b24b4..480bf3c04 100644
--- a/src/ex_cmds.h
+++ b/src/ex_cmds.h
@@ -1853,7 +1853,7 @@ EXCMD(CMD_at, "@", ex_at,
EX_RANGE|EX_WHOLEFOLD|EX_EXTRA|EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK|EX_NONWHITE_OK,
ADDR_LINES),
EXCMD(CMD_block, "{", ex_block, // not found normally
- EX_TRLBAR|EX_LOCK_OK,
+ EX_TRLBAR|EX_LOCK_OK|EX_CMDWIN,
ADDR_NONE),
EXCMD(CMD_endblock, "}", ex_endblock,
EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK,