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

@@ -20,6 +20,7 @@ vim.iter = require('vim.iter')
vim.keymap = require('vim.keymap')
vim.loader = require('vim.loader')
vim.lsp = require('vim.lsp')
vim.net = require('vim.net')
vim.pack = require('vim.pack')
vim.pos = require('vim.pos')
vim.range = require('vim.range')

View File

@@ -1299,15 +1299,15 @@ function vim.api.nvim_get_autocmds(opts) end
--- - "stderr" stderr of this Nvim instance
--- - "socket" TCP/IP socket or named pipe
--- - "job" Job with communication over its stdio.
--- - "mode" How data received on the channel is interpreted.
--- - "mode" How data received on the channel is interpreted.
--- - "bytes" Send and receive raw bytes.
--- - "terminal" |terminal| instance interprets ASCII sequences.
--- - "rpc" |RPC| communication on the channel is active.
--- - "pty" (optional) Name of pseudoterminal. On a POSIX system this is a device path like
--- - "pty" (optional) Name of pseudoterminal. On a POSIX system this is a device path like
--- "/dev/pts/1". If unknown, the key will still be present if a pty is used (e.g.
--- for conpty on Windows).
--- - "buffer" (optional) Buffer connected to |terminal| instance.
--- - "client" (optional) Info about the peer (client on the other end of the channel), as set
--- - "buffer" (optional) Buffer connected to |terminal| instance.
--- - "client" (optional) Info about the peer (client on the other end of the channel), as set
--- by |nvim_set_client_info()|.
--- - "exitcode" (optional) Exit code of the |terminal| process.
---

View File

@@ -60,6 +60,7 @@
--- @field botline integer
--- @field bufnr integer
--- @field height integer
--- @field leftcol integer
--- @field loclist integer
--- @field quickfix integer
--- @field tabnr integer

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

View File

@@ -53,7 +53,7 @@ error('Cannot require a meta file')
--- `v:event.operator` is "y".
--- @field operator? string
--- Text stored in the register as a |readfile()|-style list of lines.
--- @field regcontents? string
--- @field regcontents? string|string[]
--- Requested register (e.g "x" for "xyy) or the empty string for an unnamed operation.
--- @field regname? string
--- @field regtype? string Type of register as returned by |getregtype()|.