Skip to main content
Module

x/denops_std/function/nvim/mod.ts>rpcnotify

📚 Standard module for denops.vim
Latest
function rpcnotify
import { rpcnotify } from "https://deno.land/x/denops_std@v6.5.0/function/nvim/mod.ts";

Sends {event} to {channel} via RPC and returns immediately. If {channel} is 0, the event is broadcast to all channels. Example:

:au VimLeave call rpcnotify(0, "leaving")

Parameters

denops: Denops
channel: unknown
event: unknown
optional
args: unknown

Returns

Promise<unknown>