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

x/denops_std/function/nvim/mod.ts>nvim_get_hl_id_by_name

📚 Standard module for denops.vim
Go to Latest
function nvim_get_hl_id_by_name
import { nvim_get_hl_id_by_name } from "https://deno.land/x/denops_std@v5.0.1/function/nvim/mod.ts";

Gets a highlight group by name

similar to hlID(), but allocates a new ID if not present.

Parameters

denops: Denops
name: unknown

Returns

Promise<unknown>