diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-12-05 07:38:05 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-05 07:38:05 +0800 |
| commit | e8fdc7ef9ac67f666a58e307d82263eb2fc92a3f (patch) | |
| tree | 09b91265a2c5a9b1ee86f1727cb96f40b1234c70 /runtime/lua/vim/_meta/vimfn.lua | |
| parent | 22c3e5802a7c8823a98f01649c0345a0e98cc39a (diff) | |
| download | rneovim-e8fdc7ef9ac67f666a58e307d82263eb2fc92a3f.tar.gz rneovim-e8fdc7ef9ac67f666a58e307d82263eb2fc92a3f.tar.bz2 rneovim-e8fdc7ef9ac67f666a58e307d82263eb2fc92a3f.zip | |
vim-patch:9.1.1944: getwininfo() does not return if statusline is visible (#36828)
Problem: gewininfo() does not return if statusline is visible
Solution: Add status_height to the dict items returned by
getwininfo() (Hirohito Higashi)
closes: vim/vim#18841
https://github.com/vim/vim/commit/a04ab5f04c1a9e794ed45ff5f8f7e1f9c5e1a535
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.lua')
| -rw-r--r-- | runtime/lua/vim/_meta/vimfn.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index 91a1a57fa1..018453e5d2 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -4012,8 +4012,12 @@ function vim.fn.gettext(text) end --- 'wrap' is off --- loclist 1 if showing a location list --- quickfix 1 if quickfix or location list window ---- terminal 1 if a terminal window +--- status_height status lines height (0 or 1) --- tabnr tab page number +--- terminal 1 if a terminal window +--- textoff number of columns occupied by any +--- 'foldcolumn', 'signcolumn' and line +--- number in front of the text --- topline first displayed buffer line --- variables a reference to the dictionary with --- window-local variables @@ -4022,9 +4026,6 @@ function vim.fn.gettext(text) end --- otherwise --- wincol leftmost screen column of the window; --- "col" from |win_screenpos()| ---- textoff number of columns occupied by any ---- 'foldcolumn', 'signcolumn' and line ---- number in front of the text --- winid |window-ID| --- winnr window number --- winrow topmost screen line of the window; |