Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ddc_vim/deps.ts>op.maxmapdepth

Dark deno-powered completion framework for neovim/Vim8
Very Popular
Go to Latest
variable op.maxmapdepth
import { op } from "https://deno.land/x/ddc_vim@v3.4.0/deps.ts";
const { maxmapdepth } = op;

Maximum number of times a mapping is done without resulting in a character to be used. This normally catches endless mappings, like ":map x y" with ":map y x". It still does not catch ":map g wg", because the 'w' is used before the next mapping is done. See also |key-mapping|.

type

{ get(denops: Denops): Promise<number>; set(denops: Denops, value: number): Promise<void>; reset(denops: Denops): Promise<void>; getGlobal(denops: Denops): Promise<number>; setGlobal(denops: Denops, value: number): Promise<void>; resetGlobal(denops: Denops): Promise<void>; }