Skip to main content
Module

x/denops_std/function/mod.ts>eventhandler

📚 Standard module for denops.vim
Go to Latest
function eventhandler
import { eventhandler } from "https://deno.land/x/denops_std@v6.4.0/function/mod.ts";

Returns 1 when inside an event handler. That is that Vim got interrupted while waiting for the user to type a character, e.g., when dropping a file on Vim. This means interactive commands cannot be used. Otherwise zero is returned.

Returns

Promise<number>