Skip to main content
Module

x/ddc_vim/deps.ts>fn.hlexists

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.hlexists
import { fn } from "https://deno.land/x/ddc_vim@v2.3.0/deps.ts";
const { hlexists } = fn;

The result is a Number, which is TRUE if a highlight group called {name} exists. This is when the group has been defined in some way. Not necessarily when highlighting has been defined for it, it may also have been used for a syntax item. Obsolete name: highlight_exists(). Can also be used as a |method|: GetName()->hlexists()

Parameters

denops: Denops
name: unknown

Returns

Promise<unknown>