Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddc_vim/deps.ts>fn.eventhandler

Dark deno-powered completion framework for neovim/Vim
Go to Latest
function fn.eventhandler
import { fn } from "https://deno.land/x/ddc_vim@v4.1.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<number>