docs: nvim_set_hl fg_index, bg_indexed #37534

(cherry picked from commit 543e14d040)
This commit is contained in:
glepnir
2026-01-26 21:31:57 +08:00
committed by github-actions[bot]
parent 0da1e4b1c5
commit 1772203187
3 changed files with 14 additions and 0 deletions

View File

@@ -2166,6 +2166,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