Skip to main content
Module

x/ddc_vim/deps.ts>fn.inputsave

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.inputsave
import { fn } from "https://deno.land/x/ddc_vim@v2.3.0/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 1 when out of memory, 0 otherwise.

Returns

Promise<void>