Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

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

Gets a highlight definition by id. hlID()

Parameters: {hl_id} Highlight id as returned by hlID() {rgb} Export RGB colors

Return: Highlight definition map

See also: nvim_get_hl_by_name

Parameters

denops: Denops
hl_id: unknown
rgb: unknown

Returns

Promise<unknown>