mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 17:28:23 +00:00
API: deprecate nvim_command_output
This commit is contained in:
@@ -296,25 +296,23 @@ int do_cmdline_cmd(const char *cmd)
|
||||
DOCMD_NOWAIT|DOCMD_KEYTYPED);
|
||||
}
|
||||
|
||||
/*
|
||||
* do_cmdline(): execute one Ex command line
|
||||
*
|
||||
* 1. Execute "cmdline" when it is not NULL.
|
||||
* If "cmdline" is NULL, or more lines are needed, fgetline() is used.
|
||||
* 2. Split up in parts separated with '|'.
|
||||
*
|
||||
* This function can be called recursively!
|
||||
*
|
||||
* flags:
|
||||
* DOCMD_VERBOSE - The command will be included in the error message.
|
||||
* DOCMD_NOWAIT - Don't call wait_return() and friends.
|
||||
* DOCMD_REPEAT - Repeat execution until fgetline() returns NULL.
|
||||
* DOCMD_KEYTYPED - Don't reset KeyTyped.
|
||||
* DOCMD_EXCRESET - Reset the exception environment (used for debugging).
|
||||
* DOCMD_KEEPLINE - Store first typed line (for repeating with ".").
|
||||
*
|
||||
* return FAIL if cmdline could not be executed, OK otherwise
|
||||
*/
|
||||
/// do_cmdline(): execute one Ex command line
|
||||
///
|
||||
/// 1. Execute "cmdline" when it is not NULL.
|
||||
/// If "cmdline" is NULL, or more lines are needed, fgetline() is used.
|
||||
/// 2. Split up in parts separated with '|'.
|
||||
///
|
||||
/// This function can be called recursively!
|
||||
///
|
||||
/// flags:
|
||||
/// DOCMD_VERBOSE - The command will be included in the error message.
|
||||
/// DOCMD_NOWAIT - Don't call wait_return() and friends.
|
||||
/// DOCMD_REPEAT - Repeat execution until fgetline() returns NULL.
|
||||
/// DOCMD_KEYTYPED - Don't reset KeyTyped.
|
||||
/// DOCMD_EXCRESET - Reset the exception environment (used for debugging).
|
||||
/// DOCMD_KEEPLINE - Store first typed line (for repeating with ".").
|
||||
///
|
||||
/// @return FAIL if cmdline could not be executed, OK otherwise
|
||||
int do_cmdline(char_u *cmdline, LineGetter fgetline,
|
||||
void *cookie, /* argument for fgetline() */
|
||||
int flags)
|
||||
|
Reference in New Issue
Block a user