import { input } from "https://deno.land/x/denops_std@v3.9.2/helper/input.ts";
Open a prompt to get user input.
It is a wrapper function of Vim/Neovim's native input()
function.
This version has the following advantages
- Developers can use TypeScript custom completion function
- It returns
null
instead when user cancelled by or - It automatically guard input when
inputsave
option is specified
Parameters
denops: Denops
optional
options: InputOptions = [UNSUPPORTED]