mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
doc
This commit is contained in:
@@ -166,7 +166,10 @@ void nvim_feedkeys(String keys, String mode, Boolean escape_csi)
|
||||
/// On VimL error: Does not fail, but updates v:errmsg.
|
||||
///
|
||||
/// Unlike `nvim_feedkeys`, this uses a lower-level input buffer and the call
|
||||
/// is not deferred. This is the most reliable way to emulate real user input.
|
||||
/// is not deferred. This is the most reliable way to send real user input.
|
||||
///
|
||||
/// @note |keycodes| like <CR> are translated, so `<` is special.
|
||||
/// To input a literal `<`, send `<LT>`.
|
||||
///
|
||||
/// @param keys to be typed
|
||||
/// @return Number of bytes actually written (can be fewer than
|
||||
|
@@ -336,8 +336,8 @@ static lua_State *nlua_init(void)
|
||||
/// Calls nlua_init() if needed. Is responsible for pre-lua call initalization
|
||||
/// like updating `package.[c]path` with directories derived from &runtimepath.
|
||||
///
|
||||
/// @return Interprter instance to use. Will either be initialized now or taken
|
||||
/// from previous initalization.
|
||||
/// @return Interpreter instance to use. Will either be initialized now or
|
||||
/// taken from previous initialization.
|
||||
static lua_State *nlua_enter(void)
|
||||
FUNC_ATTR_NONNULL_RET FUNC_ATTR_WARN_UNUSED_RESULT
|
||||
{
|
||||
|
@@ -2735,7 +2735,7 @@ void do_put(int regname, yankreg_T *reg, int dir, long count, int flags)
|
||||
// Autocommands may be executed when saving lines for undo, which may make
|
||||
// y_array invalid. Start undo now to avoid that.
|
||||
if (u_save(curwin->w_cursor.lnum, curwin->w_cursor.lnum + 1) == FAIL) {
|
||||
ELOG(_("Failed to save undo information"));
|
||||
ELOG("Failed to save undo information");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user