import { echomsg } from "https://deno.land/x/denops_backport@v2.0.0/mod.ts";
Echo the expression(s) as a true message, saving the
message in the |message-history|.
Spaces are placed between the arguments as with the
:echo
command. But unprintable characters are
displayed, not interpreted.
The parsing works slightly different from :echo
,
more like :execute
. All the expressions are first
evaluated and concatenated before echoing anything.
If expressions does not evaluate to a Number or
String, string() is used to turn it into a string.
Uses the highlighting set by the :echohl
command.
denops_backport
Only one string can be specified.
If opt.highlight
is specified, the highlight gourp is changed with
:echohl
and restored to None
after execution.