aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ops.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-05-10 17:42:14 +0800
committerGitHub <noreply@github.com>2023-05-10 17:42:14 +0800
commit5ac2e47acc999472042df4f10f8f7b5ffa72ba3e (patch)
treec0b61348936f80ade94d24db5932fc05ffb7ef36 /src/nvim/ops.h
parent4e5061dba765df2a74ac4a8182f6e7fe21da125d (diff)
downloadrneovim-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.h4
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