aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/executor.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-02 19:32:27 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-07-03 04:34:28 +0800
commitf93eb169f6e1d72646556153fc0d01b3c843498a (patch)
tree0d7ca99d9d5e8030404b97fcf147db092d022c89 /src/nvim/lua/executor.c
parent108368bdd5546319952767325c1a28de537fec75 (diff)
downloadrneovim-f93eb169f6e1d72646556153fc0d01b3c843498a.tar.gz
rneovim-f93eb169f6e1d72646556153fc0d01b3c843498a.tar.bz2
rneovim-f93eb169f6e1d72646556153fc0d01b3c843498a.zip
vim-patch:8.2.1900: Vim9: command modifiers do not work
Problem: Vim9: command modifiers do not work. Solution: Make most command modifiers work. https://github.com/vim/vim/commit/02194d2bd54eacd0b7b9a017a3fe1702ecb80971
Diffstat (limited to 'src/nvim/lua/executor.c')
-rw-r--r--src/nvim/lua/executor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/lua/executor.c b/src/nvim/lua/executor.c
index 164542f4ab..87244ed03c 100644
--- a/src/nvim/lua/executor.c
+++ b/src/nvim/lua/executor.c
@@ -1915,7 +1915,7 @@ int nlua_do_ucmd(ucmd_T *cmd, exarg_T *eap, bool preview)
// every possible modifier (with room to spare). If the list of possible
// modifiers grows this may need to be updated.
char buf[200] = { 0 };
- (void)uc_mods(buf);
+ (void)uc_mods(buf, &cmdmod, false);
lua_pushstring(lstate, buf);
lua_setfield(lstate, -2, "mods");