aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/api.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-06-15 01:01:55 +0200
committerJustin M. Keyes <justinkz@gmail.com>2025-06-18 12:13:55 +0200
commitcb2367a1e25da6cef77cb164f404ec814a98482b (patch)
tree9b397b8239e09cd1748870c215d2d789ff05f1d5 /runtime/lua/vim/_meta/api.lua
parentc8e54bf49d1950ab7de12c5ce82882bef4d0f508 (diff)
downloadrneovim-cb2367a1e25da6cef77cb164f404ec814a98482b.tar.gz
rneovim-cb2367a1e25da6cef77cb164f404ec814a98482b.tar.bz2
rneovim-cb2367a1e25da6cef77cb164f404ec814a98482b.zip
docs: api, misc
Diffstat (limited to 'runtime/lua/vim/_meta/api.lua')
-rw-r--r--runtime/lua/vim/_meta/api.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/_meta/api.lua b/runtime/lua/vim/_meta/api.lua
index a86d52e620..6c4c4eaa07 100644
--- a/runtime/lua/vim/_meta/api.lua
+++ b/runtime/lua/vim/_meta/api.lua
@@ -159,7 +159,7 @@ function vim.api.nvim__unpack(str) end
--- @return integer
function vim.api.nvim_buf_add_highlight(buffer, ns_id, hl_group, line, col_start, col_end) end
---- Activates buffer-update events on a channel, or as Lua callbacks.
+--- Activates `api-buffer-updates` events on a channel, or as Lua callbacks.
---
--- Example (Lua): capture buffer updates in a global `events` variable
--- (use "vim.print(events)" to see its contents):
@@ -575,7 +575,7 @@ function vim.api.nvim_buf_line_count(buffer) end
--- EOL of a line, continue the highlight for the rest
--- of the screen line (just like for diff and
--- cursorline highlight).
---- - virt_text : virtual text to link to this mark.
+--- - virt_text : [](virtual-text) to link to this mark.
--- A list of `[text, highlight]` tuples, each representing a
--- text chunk with specified highlight. `highlight` element
--- can either be a single highlight group, or an array of