Mercurial > vim
diff src/usercmd.c @ 30017:578e71f924fe v9.0.0346
patch 9.0.0346: :horizontal modifier not fully supported
Commit: https://github.com/vim/vim/commit/d3de178e5352fedf0f30b979f46a2fcbca24ea40
Author: zeertzjq <zeertzjq@outlook.com>
Date: Thu Sep 1 12:58:52 2022 +0100
patch 9.0.0346: :horizontal modifier not fully supported
Problem: :horizontal modifier not fully supported.
Solution: Also use :horizontal for completion and user commands.
(closes #11025)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 01 Sep 2022 14:00:04 +0200 |
parents | 5c390aa28f44 |
children | 8c7495056f35 |
line wrap: on
line diff
--- a/src/usercmd.c +++ b/src/usercmd.c @@ -1443,6 +1443,9 @@ add_win_cmd_modifers(char_u *buf, cmdmod // :vertical if (cmod->cmod_split & WSP_VERT) result += add_cmd_modifier(buf, "vertical", multi_mods); + // :horizontal + if (cmod->cmod_split & WSP_HOR) + result += add_cmd_modifier(buf, "horizontal", multi_mods); return result; }