Skip to main content
Module

x/ddc_vim/deps.ts>fn.inputsave

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