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

x/ddc_vim/deps.ts>fn.hlexists

Dark deno-powered completion framework for neovim/Vim8
Very Popular
Go to Latest
function fn.hlexists
import { fn } from "https://deno.land/x/ddc_vim@v0.17.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>