docs: misc

Close #37458
Close #37838
Close #37840
Close #37872
Close #37890
Close #38016
Close #38051
Close #38189
Close #38225
Close #38243
Close #38250

Co-authored-by: Colin Kennedy <colinvfx@gmail.com>
Co-authored-by: "Mike J. McGuirk" <mike.j.mcguirk@gmail.com>
Co-authored-by: Austin Rambo <ramboaustin13@gmail.com>
Co-authored-by: Jonathan Birk <1965620+cafce25@users.noreply.github.com>
Co-authored-by: Sean Dewar <6256228+seandewar@users.noreply.github.com>
Co-authored-by: Mike Smith <10135646+mikesmithgh@users.noreply.github.com>
Co-authored-by: Saad Nadeem <saadndm.sn@gmail.com>
Co-authored-by: brianhuster <phambinhanctb2004@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Yi Ming <ofseed@foxmail.com>
This commit is contained in:
Justin M. Keyes
2026-03-11 18:24:57 +01:00
parent a3058abf30
commit 682f5fee60
13 changed files with 32 additions and 24 deletions

View File

@@ -7132,7 +7132,7 @@ function vim.fn.readblob(fname, offset, size) end
--- Returns an empty List on error.
---
--- @param directory string
--- @param expr? integer
--- @param expr? integer|string|fun(name: string): integer
--- @return any
function vim.fn.readdir(directory, expr) end
@@ -7521,7 +7521,7 @@ function vim.fn.screenchars(row, col) end
--- noremap GG <Cmd>echom screencol()<CR>
--- <
---
--- @return integer[]
--- @return integer
function vim.fn.screencol() end
--- The result is a Dict with the screen position of the text
@@ -7550,7 +7550,7 @@ function vim.fn.screencol() end
--- @param winid integer
--- @param lnum integer
--- @param col integer
--- @return any
--- @return { col: integer, curscol: integer, endcol: integer, row: integer }
function vim.fn.screenpos(winid, lnum, col) end
--- The result is a Number, which is the current screen row of the
@@ -7969,7 +7969,7 @@ function vim.fn.searchpairpos(start, middle, end_, flags, skip, stopline, timeou
--- @param stopline? integer
--- @param timeout? integer
--- @param skip? string|function
--- @return any
--- @return { [1]: integer, [2]: integer, [3]: integer? }
function vim.fn.searchpos(pattern, flags, stopline, timeout, skip) end
--- Returns a list of server addresses, or empty if all servers