diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-08-19 13:15:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-19 13:15:12 +0200 |
commit | b3da396804ec0a63f11b86a363bd4c98e23f8ebd (patch) | |
tree | cf437e397f9e06594de73f4ac65f9725c303449f /runtime/doc/api.txt | |
parent | f465bf0cfa3c20152de2d3ca2ddede9fbcde086e (diff) | |
parent | b13070ec01844977f10cae38fc6f2a0fd9defad8 (diff) | |
download | rneovim-b3da396804ec0a63f11b86a363bd4c98e23f8ebd.tar.gz rneovim-b3da396804ec0a63f11b86a363bd4c98e23f8ebd.tar.bz2 rneovim-b3da396804ec0a63f11b86a363bd4c98e23f8ebd.zip |
Merge #7171 from justinmk/doc
Diffstat (limited to 'runtime/doc/api.txt')
-rw-r--r-- | runtime/doc/api.txt | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt index 7c6b8a3c1a..e12cd1cfa9 100644 --- a/runtime/doc/api.txt +++ b/runtime/doc/api.txt @@ -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 |