diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-03-11 18:24:57 +0100 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2026-03-11 18:24:57 +0100 |
| commit | 682f5fee600802236e104ef85b5fbc6d3fe860cf (patch) | |
| tree | 1b53737543500fc46f61962082f4c19f58f97754 /runtime/lua/vim/_meta/vimfn.lua | |
| parent | a3058abf301aa3553398f70f5d3ea6a12b6f4e38 (diff) | |
| download | rneovim-682f5fee600802236e104ef85b5fbc6d3fe860cf.tar.gz rneovim-682f5fee600802236e104ef85b5fbc6d3fe860cf.tar.bz2 rneovim-682f5fee600802236e104ef85b5fbc6d3fe860cf.zip | |
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>
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.lua')
| -rw-r--r-- | runtime/lua/vim/_meta/vimfn.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index 2c95ae8c92..d012b68556 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -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 |