Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ddc_vim/deps.ts>fn.inputrestore

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.inputrestore
import { fn } from "https://deno.land/x/ddc_vim@v3.8.0/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 TRUE when there is nothing to restore, FALSE otherwise.

Returns

Promise<boolean>