Skip to main content
Module

x/denops_std/option/mod.ts>redrawtime

📚 Standard module for denops.vim
Go to Latest
variable redrawtime
import { redrawtime } from "https://deno.land/x/denops_std@v4.1.7/option/mod.ts";

The time in milliseconds for redrawing the display. This applies to searching for patterns for 'hlsearch', :match highlighting and syntax highlighting. When redrawing takes more than this many milliseconds no further matches will be highlighted. For syntax highlighting the time applies per window. When over the limit syntax highlighting is disabled until CTRL-L is used. This is used to avoid that Vim hangs when using a very complicated pattern.

(default 2000)

only available when compiled with the +reltime feature

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>; }