Skip to main content
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@v6.4.0/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>