Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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@v5.1.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>