import { ch_evalraw } from "https://deno.land/x/denops_std@v5.0.2/function/vim/mod.ts";
Send {string} over {handle}. {handle} can be a Channel or a Job that has a Channel.
Works like ch_evalexpr()
, but does not encode the request or
decode the response. The caller is responsible for the
correct contents. Also does not add a newline for a channel
in NL mode, the caller must do that. The NL in the response
is removed.
Note that Vim does not know when the text received on a raw
channel is complete, it may only return the first part and you
need to use ch_readraw()
to fetch the rest.
See channel-use
.
Can also be used as a method
:
GetChannel()->ch_evalraw(rawstring)