From 543e14d04085c5e8f613220bb39632c822ee8996 Mon Sep 17 00:00:00 2001 From: glepnir Date: Mon, 26 Jan 2026 21:31:57 +0800 Subject: docs: nvim_set_hl fg_index, bg_indexed #37534 --- runtime/lua/vim/_meta/api.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'runtime/lua/vim/_meta/api.lua') diff --git a/runtime/lua/vim/_meta/api.lua b/runtime/lua/vim/_meta/api.lua index 25e7d3a56b..9e40aa01cc 100644 --- a/runtime/lua/vim/_meta/api.lua +++ b/runtime/lua/vim/_meta/api.lua @@ -2200,6 +2200,11 @@ function vim.api.nvim_set_decoration_provider(ns_id, opts) end --- @param val vim.api.keyset.highlight Highlight definition map, accepts the following keys: --- - fg: color name or "#RRGGBB", see note. --- - bg: color name or "#RRGGBB", see note. +--- - fg_indexed: boolean +--- When true, fg is a terminal palette index (0-255). +--- Default is false. +--- - bg_indexed: boolean +--- Same as fg_indexed, but for background color. --- - sp: color name or "#RRGGBB" --- - blend: integer between 0 and 100 --- - bold: boolean -- cgit v1.3-3-g829e