Skip to main content
Module

x/ddc_vim/deps.ts>fn.wildmenumode

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.wildmenumode
import { fn } from "https://deno.land/x/ddc_vim@v0.0.13/deps.ts";
const { wildmenumode } = fn;

Returns |TRUE| when the wildmenu is active and |FALSE| otherwise. See 'wildmenu' and 'wildmode'. This can be used in mappings to handle the 'wildcharm' option gracefully. (Makes only sense with |mapmode-c| mappings). For example to make work like in wildmode, use: :cnoremap wildmenumode() ? "<Down><Tab>" : "<c-j>" (Note, this needs the 'wildcharm' option set appropriately).

Returns

Promise<unknown>