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>pumblend

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

Enables pseudo-transparency for the popup-menu. Valid values are in the range of 0 for fully opaque popupmenu (disabled) to 100 for fully transparent background. Values between 0-30 are typically most useful.

It is possible to override the level for individual highlights within the popupmenu using highlight-blend. For instance, to enable transparency but force the current selected element to be fully opaque:

:set pumblend=15
:hi PmenuSel blend=0

UI-dependent. Works best with RGB colors. 'termguicolors'

(default 0)

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