Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
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@v3.9.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>