fix(docs): add missing properties to hl_info #30032

This commit is contained in:
Maria José Solano
2024-08-16 08:36:23 -07:00
committed by GitHub
parent fd65422b99
commit a901fb875f
3 changed files with 16 additions and 7 deletions

View File

@@ -29,11 +29,11 @@ local LUA_API_RETURN_OVERRIDES = {
nvim_get_keymap = 'vim.api.keyset.keymap[]',
nvim_get_mark = 'vim.api.keyset.get_mark',
-- Can also return table<string,vim.api.keyset.hl_info>, however we need to
-- Can also return table<string,vim.api.keyset.get_hl_info>, however we need to
-- pick one to get some benefit.
-- REVISIT lewrus01 (26/01/24): we can maybe add
-- @overload fun(ns: integer, {}): table<string,vim.api.keyset.hl_info>
nvim_get_hl = 'vim.api.keyset.hl_info',
-- @overload fun(ns: integer, {}): table<string,vim.api.keyset.get_hl_info>
nvim_get_hl = 'vim.api.keyset.get_hl_info',
nvim_get_mode = 'vim.api.keyset.get_mode',
nvim_get_namespaces = 'table<string,integer>',