summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/_meta/api.lua
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2026-01-26 21:31:57 +0800
committerGitHub <noreply@github.com>2026-01-26 08:31:57 -0500
commit543e14d04085c5e8f613220bb39632c822ee8996 (patch)
tree23df6b0b2ba51ca6e0dd0832de53248029120dee /runtime/lua/vim/_meta/api.lua
parentf7b573f80a33e7d6aba2d7a35a1a9f1a14a7ffca (diff)
docs: nvim_set_hl fg_index, bg_indexed #37534
Diffstat (limited to 'runtime/lua/vim/_meta/api.lua')
-rw-r--r--runtime/lua/vim/_meta/api.lua5
1 files changed, 5 insertions, 0 deletions
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