Skip to main content
Module

x/ddc_vim/deps.ts>op.termguicolors

Dark deno-powered completion framework for neovim/Vim
Latest
variable op.termguicolors
import { op } from "https://deno.land/x/ddc_vim@v4.3.1/deps.ts";
const { termguicolors } = op;

When on, uses highlight-guifg and highlight-guibg attributes in the terminal (thus using 24-bit color).

Requires a ISO-8613-3 compatible terminal. If setting this option does not work (produces a colorless UI) reading xterm-true-color might help.

For Win32 console, Windows 10 version 1703 (Creators Update) or later is required. Use this check to find out:

if has('vcon')

This requires Vim to be built with the +vtp feature.

Note that the "cterm" attributes are still used, not the "gui" ones.

When using Vim with Windows Terminal, the background of Windows Terminal is normally filled with the Vim background color. Setting 'termguicolors' and the guibg of the Normal highlight group to NONE will make the background transparent:

:hi Normal guibg=NONE

NOTE: This option is reset when 'compatible' is set.

(default off)

not available when compiled without the +termguicolors feature

type

GlobalOption<boolean>