diff options
| author | Lewis Russell <lewis6991@gmail.com> | 2025-06-05 11:31:51 +0100 |
|---|---|---|
| committer | Lewis Russell <me@lewisr.dev> | 2025-06-06 15:36:48 +0100 |
| commit | 3b6084ddf4f0d49fb0e5d135919c9daacea2a46d (patch) | |
| tree | c46454da48ec05e345c953f4e172e52dff8bef52 /runtime/lua/vim/_meta/api.lua | |
| parent | 4c333fdbb7bee299f36624b429f5c065470e421d (diff) | |
fix: type fixes
Type fixes caught by emmylua
Diffstat (limited to 'runtime/lua/vim/_meta/api.lua')
| -rw-r--r-- | runtime/lua/vim/_meta/api.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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<string,any> # 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<string,any> # 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 |
