Skip to main content
Module

x/ddc_vim/deps.ts>fn.eventhandler

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.eventhandler
import { fn } from "https://deno.land/x/ddc_vim@v2.3.0/deps.ts";
const { eventhandler } = fn;

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<unknown>