Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ddc_vim/deps.ts>fn.inputrestore

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

Restore typeahead that was saved with a previous |inputsave()|. Should be called the same number of times inputsave() is called. Calling it more often is harmless though. Returns 1 when there is nothing to restore, 0 otherwise.

Returns

Promise<unknown>