mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 20:08:17 +00:00
vim-patch:8.2.0067: ERROR_UNKNOWN clashes on some systems (#20212)
Problem: ERROR_UNKNOWN clashes on some systems.
Solution: Rename ERROR_ to FCERR_. (Ola Söder, closes vim/vim#5415)
ef140544f6
Remove ERROR_BOTH which was removed from Vim in patch 7.4.1582.
This commit is contained in:
@@ -1435,12 +1435,12 @@ int typval_exec_lua_callable(LuaRef lua_cb, int argcount, typval_T *argvars, typ
|
||||
|
||||
if (nlua_pcall(lstate, argcount, 1)) {
|
||||
nlua_print(lstate);
|
||||
return ERROR_OTHER;
|
||||
return FCERR_OTHER;
|
||||
}
|
||||
|
||||
nlua_pop_typval(lstate, rettv);
|
||||
|
||||
return ERROR_NONE;
|
||||
return FCERR_NONE;
|
||||
}
|
||||
|
||||
/// Execute Lua string
|
||||
|
Reference in New Issue
Block a user