From 3b6084ddf4f0d49fb0e5d135919c9daacea2a46d Mon Sep 17 00:00:00 2001 From: Lewis Russell Date: Thu, 5 Jun 2025 11:31:51 +0100 Subject: fix: type fixes Type fixes caught by emmylua --- runtime/lua/vim/_meta/api.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/lua/vim/_meta/api.lua') diff --git a/runtime/lua/vim/_meta/api.lua b/runtime/lua/vim/_meta/api.lua index 01f5d08562..a86d52e620 100644 --- a/runtime/lua/vim/_meta/api.lua +++ b/runtime/lua/vim/_meta/api.lua @@ -1135,7 +1135,7 @@ function vim.api.nvim_eval(expr) end --- - use_tabline: (boolean) Evaluate tabline instead of statusline. When true, {winid} --- is ignored. Mutually exclusive with {use_winbar}. --- - use_statuscol_lnum: (number) Evaluate statuscolumn for this line number instead of statusline. ---- @return table # Dict containing statusline information, with these keys: +--- @return vim.api.keyset.eval_statusline_ret # Dict containing statusline information, with these keys: --- - str: (string) Characters that will be displayed on the statusline. --- - width: (number) Display width of the statusline. --- - highlights: Array containing highlight information of the statusline. Only included when @@ -2538,7 +2538,7 @@ function vim.api.nvim_win_set_width(window, width) end --- to find out how many buffer lines beyond "start_row" take --- up a certain number of logical lines (returned in --- "end_row" and "end_vcol"). ---- @return table # Dict containing text height information, with these keys: +--- @return vim.api.keyset.win_text_height_ret # Dict containing text height information, with these keys: --- - all: The total number of screen lines occupied by the range. --- - fill: The number of diff filler or virtual lines among them. --- - end_row: The row on which the returned height is reached (first row of -- cgit