diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-07-02 19:35:11 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-07-03 04:34:28 +0800 |
commit | 7a907c3314f939a3d2983ac07edc5c9672957352 (patch) | |
tree | c90e1d89fd93df88bf6938018ada5bf4a98ec7ba /src/nvim/lua/executor.c | |
parent | f93eb169f6e1d72646556153fc0d01b3c843498a (diff) | |
download | rneovim-7a907c3314f939a3d2983ac07edc5c9672957352.tar.gz rneovim-7a907c3314f939a3d2983ac07edc5c9672957352.tar.bz2 rneovim-7a907c3314f939a3d2983ac07edc5c9672957352.zip |
feat(api): add `unsilent` to command APIs
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 87244ed03c..0406ba2199 100644 --- a/src/nvim/lua/executor.c +++ b/src/nvim/lua/executor.c @@ -1946,6 +1946,8 @@ int nlua_do_ucmd(ucmd_T *cmd, exarg_T *eap, bool preview) lua_setfield(lstate, -2, "silent"); lua_pushboolean(lstate, cmdmod.cmod_flags & CMOD_ERRSILENT); lua_setfield(lstate, -2, "emsg_silent"); + lua_pushboolean(lstate, cmdmod.cmod_flags & CMOD_UNSILENT); + lua_setfield(lstate, -2, "unsilent"); lua_pushboolean(lstate, cmdmod.cmod_flags & CMOD_SANDBOX); lua_setfield(lstate, -2, "sandbox"); lua_pushboolean(lstate, cmdmod.cmod_flags & CMOD_NOAUTOCMD); |