Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/function/vim/mod.ts>ch_evalraw

๐Ÿ“š Standard module for denops.vim
Go to Latest
function ch_evalraw
import { ch_evalraw } from "https://deno.land/x/denops_std@v3.6.0/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)

Parameters

denops: Denops
handle: unknown
string: unknown
optional
options: unknown

Returns

Promise<unknown>