mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
parent
af046a3a81
commit
b13070ec01
@ -171,8 +171,8 @@ nvim_replace_termcodes({str}, {from_part}, {do_lt}, {special})
|
||||
Parameters:~
|
||||
{str} String to be converted.
|
||||
{from_part} Legacy Vim parameter. Usually true.
|
||||
{do_lt} Also translate <lt>. Does nothing if
|
||||
`special` is false.
|
||||
{do_lt} Also translate <lt>. Ignored if `special` is
|
||||
false.
|
||||
{special} Replace |keycodes|, e.g. <CR> becomes a "\n"
|
||||
char.
|
||||
|
||||
@ -309,20 +309,24 @@ nvim_set_option({name}, {value}) *nvim_set_option()*
|
||||
{value} New option value
|
||||
|
||||
nvim_out_write({str}) *nvim_out_write()*
|
||||
Writes a message to vim output buffer
|
||||
Writes a message to the Vim output buffer. Does not append
|
||||
"\n", the message is buffered (won't display) until a linefeed
|
||||
is written.
|
||||
|
||||
Parameters:~
|
||||
{str} Message
|
||||
|
||||
nvim_err_write({str}) *nvim_err_write()*
|
||||
Writes a message to vim error buffer
|
||||
Writes a message to the Vim error buffer. Does not append
|
||||
"\n", the message is buffered (won't display) until a linefeed
|
||||
is written.
|
||||
|
||||
Parameters:~
|
||||
{str} Message
|
||||
|
||||
nvim_err_writeln({str}) *nvim_err_writeln()*
|
||||
Writes a message to vim error buffer. Appends a linefeed to
|
||||
ensure all contents are written.
|
||||
Writes a message to the Vim error buffer. Appends "\n", so the
|
||||
buffer is flushed (and displayed).
|
||||
|
||||
Parameters:~
|
||||
{str} Message
|
||||
|
@ -484,7 +484,8 @@ void nvim_set_option(String name, Object value, Error *err)
|
||||
set_option_to(NULL, SREQ_GLOBAL, name, value, err);
|
||||
}
|
||||
|
||||
/// Writes a message to vim output buffer
|
||||
/// Writes a message to the Vim output buffer. Does not append "\n", the
|
||||
/// message is buffered (won't display) until a linefeed is written.
|
||||
///
|
||||
/// @param str Message
|
||||
void nvim_out_write(String str)
|
||||
@ -493,7 +494,8 @@ void nvim_out_write(String str)
|
||||
write_msg(str, false);
|
||||
}
|
||||
|
||||
/// Writes a message to vim error buffer
|
||||
/// Writes a message to the Vim error buffer. Does not append "\n", the
|
||||
/// message is buffered (won't display) until a linefeed is written.
|
||||
///
|
||||
/// @param str Message
|
||||
void nvim_err_write(String str)
|
||||
@ -502,8 +504,8 @@ void nvim_err_write(String str)
|
||||
write_msg(str, true);
|
||||
}
|
||||
|
||||
/// Writes a message to vim error buffer. Appends a linefeed to ensure all
|
||||
/// contents are written.
|
||||
/// Writes a message to the Vim error buffer. Appends "\n", so the buffer is
|
||||
/// flushed (and displayed).
|
||||
///
|
||||
/// @param str Message
|
||||
/// @see nvim_err_write()
|
||||
|
Loading…
Reference in New Issue
Block a user