docs(stdioopen): add missing documentation for on_print param

This commit adds documentation for the feature introduced in #15910.
This commit is contained in:
glacambre 2022-02-08 06:08:25 +01:00
parent 01e58fb14d
commit 8090753880

View File

@ -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