From 8090753880697451a4d18777d9f258d234811747 Mon Sep 17 00:00:00 2001 From: glacambre Date: Tue, 8 Feb 2022 06:08:25 +0100 Subject: docs(stdioopen): add missing documentation for on_print param This commit adds documentation for the feature introduced in #15910. --- runtime/doc/builtin.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'runtime') 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 -- cgit