diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-09-01 21:31:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-01 21:31:38 +0800 |
commit | 12fe197cffc687cedc65259d9fd8351a25aa7792 (patch) | |
tree | 7d3e74d86ba98b50c6ecc402a54eecafe13e1eef /src/nvim/lua/executor.c | |
parent | db2e5f46f5aa5a6300395eaa9c4923835683c770 (diff) | |
parent | 689f5d604e59eba1ddab6f91b458a8163dc6629d (diff) | |
download | rneovim-12fe197cffc687cedc65259d9fd8351a25aa7792.tar.gz rneovim-12fe197cffc687cedc65259d9fd8351a25aa7792.tar.bz2 rneovim-12fe197cffc687cedc65259d9fd8351a25aa7792.zip |
Merge pull request #20040 from zeertzjq/vim-9.0.0342
vim-patch:9.0.{0342,0346}: :horizontal modifier
Diffstat (limited to 'src/nvim/lua/executor.c')
-rw-r--r-- | src/nvim/lua/executor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/lua/executor.c b/src/nvim/lua/executor.c index f144e47c3a..2315ecd874 100644 --- a/src/nvim/lua/executor.c +++ b/src/nvim/lua/executor.c @@ -2103,6 +2103,8 @@ int nlua_do_ucmd(ucmd_T *cmd, exarg_T *eap, bool preview) lua_pushboolean(lstate, cmdmod.cmod_split & WSP_VERT); lua_setfield(lstate, -2, "vertical"); + lua_pushboolean(lstate, cmdmod.cmod_split & WSP_HOR); + lua_setfield(lstate, -2, "horizontal"); lua_pushboolean(lstate, cmdmod.cmod_flags & CMOD_SILENT); lua_setfield(lstate, -2, "silent"); lua_pushboolean(lstate, cmdmod.cmod_flags & CMOD_ERRSILENT); |