Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddc_vim/deps.ts>fn.hlexists

Dark deno-powered completion framework for neovim/Vim
Go to Latest
function fn.hlexists
import { fn } from "https://deno.land/x/ddc_vim@v4.1.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<number>