diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-05-10 17:42:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-10 17:42:14 +0800 |
commit | 5ac2e47acc999472042df4f10f8f7b5ffa72ba3e (patch) | |
tree | c0b61348936f80ade94d24db5932fc05ffb7ef36 /src/nvim/ops.h | |
parent | 4e5061dba765df2a74ac4a8182f6e7fe21da125d (diff) | |
download | rneovim-5ac2e47acc999472042df4f10f8f7b5ffa72ba3e.tar.gz rneovim-5ac2e47acc999472042df4f10f8f7b5ffa72ba3e.tar.bz2 rneovim-5ac2e47acc999472042df4f10f8f7b5ffa72ba3e.zip |
fix(redo): make redo of Lua mappings in op-pending mode work (#23566)
Diffstat (limited to 'src/nvim/ops.h')
-rw-r--r-- | src/nvim/ops.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/ops.h b/src/nvim/ops.h index 75ea1853a0..4c5c6bafce 100644 --- a/src/nvim/ops.h +++ b/src/nvim/ops.h @@ -4,6 +4,7 @@ #include <stdbool.h> #include <stddef.h> +#include "lauxlib.h" #include "nvim/ascii.h" #include "nvim/eval/typval.h" #include "nvim/eval/typval_defs.h" @@ -126,4 +127,7 @@ static inline int op_reg_index(const int regname) #ifdef INCLUDE_GENERATED_DECLARATIONS # include "ops.h.generated.h" #endif + +EXTERN LuaRef repeat_luaref INIT(= LUA_NOREF); ///< LuaRef for "." + #endif // NVIM_OPS_H |