fix(redo): make redo of Lua mappings in op-pending mode work (#23566)

This commit is contained in:
zeertzjq
2023-05-10 17:42:14 +08:00
committed by GitHub
parent 4e5061dba7
commit 5ac2e47acc
8 changed files with 57 additions and 25 deletions

View File

@@ -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