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

x/ddc_vim/deps.ts>fn.inputsave

Dark deno-powered completion framework for neovim/Vim
Go to Latest
function fn.inputsave
import { fn } from "https://deno.land/x/ddc_vim@v4.0.2/deps.ts";
const { inputsave } = fn;

Preserve typeahead (also from mappings) and clear it, so that a following prompt gets input from the user. Should be followed by a matching inputrestore() after the prompt. Can be used several times, in which case there must be just as many inputrestore() calls. Returns TRUE when out of memory, FALSE otherwise.

Returns

Promise<boolean>