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

x/denops_std/option/nvim/mod.ts>redrawdebug

📚 Standard module for denops.vim
Latest
variable redrawdebug
import { redrawdebug } from "https://deno.land/x/denops_std@v6.5.0/option/nvim/mod.ts";

Flags to change the way redrawing works, for debugging purposes. Most useful with 'writedelay' set to some reasonable value. Supports the following flags: compositor Indicate each redraw event handled by the compositor by briefly flashing the redrawn regions in colors indicating the redraw type. These are the highlight groups used (and their default colors): RedrawDebugNormal gui=reverse normal redraw passed through RedrawDebugClear guibg=Yellow clear event passed through RedrawDebugComposed guibg=Green redraw event modified by the compositor (due to overlapping grids, etc) RedrawDebugRecompose guibg=Red redraw generated by the compositor itself, due to a grid being moved or deleted. line introduce a delay after each line drawn on the screen. When using the TUI or another single-grid UI, "compositor" gives more information and should be preferred (every line is processed as a separate event by the compositor) flush introduce a delay after each "flush" event. nothrottle Turn off throttling of the message grid. This is an optimization that joins many small scrolls to one larger scroll when drawing the message area (with 'display' msgsep flag active). invalid Enable stricter checking (abort) of inconsistencies of the internal screen state. This is mostly useful when running nvim inside a debugger (and the test suite). nodelta Send all internally redrawn cells to the UI, even if they are unchanged from the already displayed state.

(default '')