docs: nvim_set_hl fg_index, bg_indexed #37534

This commit is contained in:
glepnir
2026-01-26 21:31:57 +08:00
committed by GitHub
parent f7b573f80a
commit 543e14d040
3 changed files with 14 additions and 0 deletions

View File

@@ -144,6 +144,11 @@ DictAs(get_hl_info) nvim_get_hl(Integer ns_id, Dict(get_highlight) *opts, Arena
/// @param val 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