mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
docs: remove mention of foreground/background/special keys in nvim_set_hl (#27558)
To align the output of `nvim_get_hl` with its documentation -- which points to `nvim_set_hl`, remove mentions of the keys `foreground`, `background` and `special`. The long keys are are still supported (via fallback checks inside `dict2hlattrs`), but the `fg`, `bg` and `sp` keys are preferenced.
This commit is contained in:
@@ -141,9 +141,9 @@ Dictionary nvim_get_hl(Integer ns_id, Dict(get_highlight) *opts, Arena *arena, E
|
||||
/// |nvim_set_hl_ns()| or |nvim_win_set_hl_ns()| to activate them.
|
||||
/// @param name Highlight group name, e.g. "ErrorMsg"
|
||||
/// @param val Highlight definition map, accepts the following keys:
|
||||
/// - fg (or foreground): color name or "#RRGGBB", see note.
|
||||
/// - bg (or background): color name or "#RRGGBB", see note.
|
||||
/// - sp (or special): color name or "#RRGGBB"
|
||||
/// - fg: color name or "#RRGGBB", see note.
|
||||
/// - bg: color name or "#RRGGBB", see note.
|
||||
/// - sp: color name or "#RRGGBB"
|
||||
/// - blend: integer between 0 and 100
|
||||
/// - bold: boolean
|
||||
/// - standout: boolean
|
||||
|
Reference in New Issue
Block a user