import { echowindow } from "https://deno.land/x/denops_backport@v2.0.1/mod.ts";
Like |:echomsg| but when the messages popup window is
available the message is displayed there. This means
it will show for three seconds and avoid a
|hit-enter| prompt. If you want to hide it before
that, press Esc in Normal mode (when it would
otherwise beep). If it disappears too soon you can
use :messages
to see the text.
When [N] is given then the window will show up for
this number of seconds. The last :echowindow
with a
count matters, it is used once only.
The message window is available when Vim was compiled
with the +timer and the +popupwin features.
denops_backport
Only one string can be specified.
If :echowindow
not available, :echomsg
is used.
If opt.highlight
is specified, the highlight gourp is changed with
:echohl
and restored to None
after execution.