aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglacambre <code@lacamb.re>2022-02-08 06:08:25 +0100
committerglacambre <code@lacamb.re>2022-02-11 19:18:47 +0100
commit8090753880697451a4d18777d9f258d234811747 (patch)
tree2021b2f887450bf25374bed91dbadb1b8b4fb8d3
parent01e58fb14d4242148affc4b882c32f38ea96f5e6 (diff)
downloadrneovim-8090753880697451a4d18777d9f258d234811747.tar.gz
rneovim-8090753880697451a4d18777d9f258d234811747.tar.bz2
rneovim-8090753880697451a4d18777d9f258d234811747.zip
docs(stdioopen): add missing documentation for on_print param
This commit adds documentation for the feature introduced in #15910.
-rw-r--r--runtime/doc/builtin.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 9bf37a3759..0fcf01aadc 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -7412,6 +7412,9 @@ stdioopen({opts}) *stdioopen()*
{opts} is a dictionary with these keys:
|on_stdin| : callback invoked when stdin is written to.
+ on_print : callback invoked when Nvim needs to print a
+ message, with the message (whose type is string)
+ as sole argument.
stdin_buffered : read stdin in |channel-buffered| mode.
rpc : If set, |msgpack-rpc| will be used to communicate
over stdio