fix(types): rename win_get_config return type to win_config

Follow-up to #27397
This commit is contained in:
Will Hopkins 2024-03-01 14:59:32 -08:00 committed by GitHub
parent 62d04f21d9
commit 813dd36b72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -2118,7 +2118,7 @@ function vim.api.nvim_win_get_buf(window) end
--- `relative` is empty for normal windows.
---
--- @param window integer Window handle, or 0 for current window
--- @return vim.api.keyset.float_config
--- @return vim.api.keyset.win_config
function vim.api.nvim_win_get_config(window) end
--- Gets the (1,0)-indexed, buffer-relative cursor position for a given window

View File

@ -40,7 +40,7 @@ local LUA_API_RETURN_OVERRIDES = {
nvim_get_option_info = 'vim.api.keyset.get_option_info',
nvim_get_option_info2 = 'vim.api.keyset.get_option_info',
nvim_parse_cmd = 'vim.api.keyset.parse_cmd',
nvim_win_get_config = 'vim.api.keyset.float_config',
nvim_win_get_config = 'vim.api.keyset.win_config',
}
local LUA_META_HEADER = {