diff options
author | Dominique Pelle <dominique.pelle@gmail.com> | 2021-09-04 13:44:01 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-09-04 13:44:01 +0200 |
commit | 7f2dd1e90c1d4a30c791fae20014594641769a1e (patch) | |
tree | ecccfbc440f9cfc99eec039af8dcb1625e797c3e /src/ex_cmds.h | |
parent | deba5eb195d6ac70171d4973091fa884809fa3fa (diff) | |
download | vim-git-7f2dd1e90c1d4a30c791fae20014594641769a1e.tar.gz |
patch 8.2.3400: ":z!" is not supportedv8.2.3400
Problem: ":z!" is not supported.
Solution: Make ":z!" work and add tests. (Dominique Pellé, closes #8836)
Use display height instead of current window height.
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r-- | src/ex_cmds.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h index 480bf3c04..1ea74422c 100644 --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -1824,7 +1824,7 @@ EXCMD(CMD_yank, "yank", ex_operators, EX_RANGE|EX_WHOLEFOLD|EX_REGSTR|EX_COUNT|EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK, ADDR_LINES), EXCMD(CMD_z, "z", ex_z, - EX_RANGE|EX_WHOLEFOLD|EX_EXTRA|EX_FLAGS|EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK, + EX_RANGE|EX_WHOLEFOLD|EX_BANG|EX_EXTRA|EX_FLAGS|EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK, ADDR_LINES), // commands that don't start with a letter |