diff options
Diffstat (limited to 'src/nvim/mapping.c')
-rw-r--r-- | src/nvim/mapping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/mapping.c b/src/nvim/mapping.c index cb7b8aab33..59022e8be6 100644 --- a/src/nvim/mapping.c +++ b/src/nvim/mapping.c @@ -1644,7 +1644,7 @@ char *eval_map_expr(mapblock_T *mp, int c) if (mp->m_luaref != LUA_NOREF) { Error err = ERROR_INIT; Array args = ARRAY_DICT_INIT; - Object ret = nlua_call_ref(mp->m_luaref, NULL, args, true, &err); + Object ret = nlua_call_ref(mp->m_luaref, NULL, args, kRetObject, NULL, &err); if (ret.type == kObjectTypeString) { p = string_to_cstr(ret.data.string); } |